I am trying to send the “dir” command to an FTP server using the SendCommand method, however an error is being returned stating that the command is not support. Why? User (Old forums)
It is possible that the “dir” command is not supported by the FTP server. You have to keep in mind that the SendCommand method sends custom commands. The “dir” command is a function of the command line FTP, not necessarily a command that the FTP server will recognize when sent “as is”. For example chmod should work (on a UNIX based FTP server) when used with the SendCommand method since this is a custom command that most UNIX FTP servers will recognize.
Imported from legacy forums. Posted by Xceed admin (had 626 views)