veeso / suppaftp

a super FTP/FTPS client library for Rust with support for both passive and active mode
Apache License 2.0
112 stars 28 forks source link

[QUESTION] - Is there a way to use FTPS with `rustls`? #86

Closed frederikhors closed 3 months ago

frederikhors commented 3 months ago

Is there a way to use FTPS with rustls instead of default-tls/native-tls?

veeso commented 3 months ago

you can choose the ssl backend you prefer

suppaftp = { version = "^6", features = ["rustls"] }
frederikhors commented 3 months ago

I'm referring to https://docs.rs/suppaftp/latest/suppaftp/#ftps-usage.

FTP"S".

Is it possible using rustls only?

frederikhors commented 3 months ago

I don't know how to use https://docs.rs/suppaftp/latest/suppaftp/struct.ImplFtpStream.html#method.into_secure with rustls feature only.

frederikhors commented 3 months ago

image