LIST or NLST commands behavior\reply if file not exists
|Reported by:||Vlad||Owned by:|
|Component version:||Operating system type:||Windows|
|Operating system version:||Server 2008 R2 64|
Description (last modified by )
Most FTP servers do not return an error for commands
if the file not exists.
Reply of FileZilla server is:
200 Port command successful 550 Directory not found
Reply of SERV-U FTP server for example is:
200 PORT Command successful. 150 Opening ASCII mode data connection for /bin/ls. 226 Transfer complete.
Is there a possibility to change the server's response and did not return an error?
If you can not make changes to the future version, can you to recommend changes of code to implement this behavior?