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
Ftp::getDirectoryListing typo fix #1100
Conversation
NLST changed to LIST
It's not a typo, the command is NLST... |
That's probably why OP closed the PR and deleted the branch. |
Yep, sorry. I realised my mistake just a second after the opening of the merge request. As Laurent suggested by email, it seems like my FTP server doesn't support the NLST command. Infact I was using "smallftpd" and looking at the resulting code I've found sfFtpStatus equal to sfFtpCommandUnknown = 500, ///< Syntax error, command unrecognized I've then tested my code with "Xlight FTP Server" locally and something changed: 06/18/2016 11:03:01 (not login 127.0.0.1<--127.0.0.1:21) "220 Xlight FTP Server 3.8 ready..." Ascii data is sent from Server to Client, but it looks like that now I have the same problem mentioned here: #1086 My application "hangs" right after the sfFtp_getDirectoryListing call:
I forgot to mention that I'm using CSFML, called with a new FreePascal .. Furthermore I've just tried to use latest SFML development version binaries to see if latest patches Does snapshot from June 11th include the following commit related to this issue? c15172e Any comment/suggestion about this Ftp.exe behaviour? Thank You in advance for your answers. Sandro |
By default CSFML links SFML statically on Windows. Are you sure that these DLLs are even used at all? Take the latest master, there's no point using an outdated source. |
You are right, sfml dlls are not used. I was using a different set of dlls in my previous testings, coming from the msys2-mingw-w64 environment, where csfml dlls refer to sfml dlls dynamically. It seems that I need a fresh set of csfml dlls... is there an updated binary snapshot somewhere? |
I don't think so. |
Great :) |
NLST changed to LIST