I currently have an application that is looking for a file on an FTP directory. If the file does not exist, it will be written.
However, the program expects an empty string as return if a file does not exist.
The app sends to the FTP-Server:
Code: Select all
LIST test
The app expects something like this:
Code: Select all
200 PORT command successful.
150 Open data connection in ASCII mode for /bin/ls.
226 Transfer complete. 0 bytes transferred. 0.00 KB/sec
Code: Select all
200 PORT command successful.
550 The file or directory could not be opened
Benjamin