-
Notifications
You must be signed in to change notification settings - Fork 5
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
List directory not working #9
Comments
It seems like your FTP Server does not understand the MLST Command to list files. Please enable the debug Flag (FTPClient constructor) and attach the log (remove any sensitive information from the log). What FTP Server Software do you use? |
It seems to be working after I replace MLSD with LIST command |
my server is windows iis |
LIST normally responds with a human readable version, while MLST/MLSD respond with a machine readable response, so this is not a general solution. |
ohh ok i will attach the log |
I/flutter (13572): [26.03.2020 12:42:48.518] Connecting... |
Thanks! I will investigate this further. |
Hi! I'm have the same problem. Is there any temporary solution? |
well I had the problem because the windows servers don't support MLST/ MLSD commands |
Thanks for the tip! Again... Thanks for the help! |
This link is what helped me understand the command, it also has documentation for other FTP commands also, hope it will be helpful. |
Thanks! |
I have the same problem. Could you please implement support for LIST command aslo instead of MLSD? |
any way to allow folders and files to contain semicolons in their names? |
Hello! 👋 The same happens with |
Hi again! Just installed a ProFTPd server, and it doesn't' work either. Same error 😢 |
I also had problems with the directory listings. In my case I had to switch transfer mode from ascii to binary in listDirectoryContent(). But error was "425 Can't open data connection." |
I am trying to get the list of directories and files in FTP server and getting below error in flutter
Unhandled Exception: FTPException: Can't get content of directory. (Response: 500 Command not understood.)
The text was updated successfully, but these errors were encountered: