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

[BUG] - list method request failed BadResponse #49

Closed llvvrui closed 1 year ago

llvvrui commented 1 year ago

I use ftp command login.

Snipaste_2023-07-14_10-30-19

veeso commented 1 year ago

From the screenshot, the issue is not clear. Please also provide what FTP server you're connected to.

llvvrui commented 1 year ago

Sorry,I can't ask FTP server version others,Only programming to test.

llvvrui commented 1 year ago

operating system is solaris 10!

llvvrui commented 1 year ago

I find this "For a very long time, the FTP server bundled with Solaris has been based on the WU-FTPd program. In Solaris 11, this has been changed to ProFTPd."

llvvrui commented 1 year ago

I use from_utf8_lossy method read u8 array buffer, maybe reason is buffer including characters that is not utf-8 256156710-90c469d1-892e-4489-927d-9d5b27fe6d88

veeso commented 1 year ago

This could be related to #50 maybe you could try with opts("UTF8", Some("ON"))