veeso / suppaftp

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

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

Closed frederikhors closed 5 months ago

frederikhors commented 5 months ago

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

veeso commented 5 months ago

you can choose the ssl backend you prefer

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

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

FTP"S".

Is it possible using rustls only?

frederikhors commented 5 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 5 months ago

image