Closed c60cb859 closed 1 year ago
I have now tried with the suppaftp-cli, getting the same Not logged in
error
% suppaftp -V
suppaftp 5.2.0 - developed by Christian Visintin <christian.visintin@veeso.dev>
>> CONNECT+S test.rebex.net:21
Failed to setup TLS stream: Invalid response: [530] 530 Not logged in.
>> LOGIN
Can't perform command: you must connect to remote first
>>
looks like it is working without TLS
% suppaftp -V
suppaftp 5.2.0 - developed by Christian Visintin <christian.visintin@veeso.dev>
>> CONNECT test.rebex.net:21
Failed to set transfer type to binary: Invalid response: [530] 530 Not logged in.
OK
>> LOGIN
Username:
Password:
OK
>>
It might actually be the servers TLS configuration that is wrong
yeah, the rebex server hasn't been working for a while
sorry for the bug :-D
Description
When copying the example from https://github.com/veeso/suppaftp#ftp-with-tls-native-tls the first unwrap errors with
status: NotLoggedIn
Steps to reproduce
cargo new ftps_test
cd ftps_test
cargo add suppaftp -F native-tls
main.rs
cargo run
This gives me:
Expected behaviour
I would assume I could expect the unwraps and the assert to not give an error
Environment
Additional information
It could very well be me that does something wrong