-
-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[QUESTION] - TITLE - FTPS - TLS session of data connection not resumed error while using FileZilla server #93
Comments
I'm not sure if this is related to fervand1's issue or not, but I am also having issues with FileZilla. When retrieving files, sometimes errors such as: This seems to happen when FileZilla responds with I think suppaftp is supposed to chill out on this response. However, immediately afterward suppaftp sends FileZilla complains about this and says I believe that at this point suppaftp returns |
@leontoeides I spent few days on this trying to understand why it is happening. And seems like the issue is with session resumption support. Am not an expert on this topic but here is what I found and hopefully might help you as well Rustls on the other hand has the support for this function which filezilla server is applying by default refer https://docs.rs/rustls/latest/rustls/client/struct.ClientConfig.html#structfield.resumption . Following is the script that worked for me. FYI ignore the implementation of bypass with NoVerifier (will implement it proper to accept a proper certificate or rootstore)
In cargo.toml, enable the rustls feature
See if this helps. Thanks |
Is this bug solved by Suppaftp mattnenterprise/rust-ftp#96 ? The library is not maintained so I thought to use Suppaftp
I wrote a simple program with suppaftp to connect to filezilla ftps server version 1.9.2 and list directory but I get below error
Following is the script I tried to run
My cargo.toml looks like this
The login to the server happens fine. The error occurs when you call commands like to list directory or any other file actions.
Before raising a bug , I wanted ask a question, if this is solved or not yet.
Note: The server is working fine because the same when I tried with node js code am able to do the directory listing, so it looks like to me the library lacks support for this feature. Can you confirm or am I doing something wrong? Thanks
The text was updated successfully, but these errors were encountered: