mattnenterprise / rust-ftp

FTP client for Rust
Apache License 2.0
182 stars 57 forks source link

Disable PASV mode #94

Open ChenhuiZhang opened 4 years ago

ChenhuiZhang commented 4 years ago

When I try some general command, e.g. LIST, I got below error:

Err(InvalidResponse("Expected code [227], got response: 550 Unknown error.\r\n"))

As my FTP server doesn't support PASV mode, so it's better to have some flag to disable it in the client also.