EldoS | Feel safer!

Software components for data protection, secure storage and transfer


Also by EldoS: BizCrypto
Components for BizTalk® and SQL Server® Integration Services that let you securely store and transfer information in your business automation solutions.
Posted: 09/27/2006 06:42:45
by Janos Baca (Basic support level)
Joined: 09/27/2006
Posts: 5

Hi, I need to help with SendCmd method in the ElSimpleFTPSClient class. I want to know, what the command parameter has a format. I put in the parameter this string: ls abc*.xml, but this lead to exception.
Posted: 09/27/2006 08:14:03
by Ken Ivanov (EldoS Corp.)

SendCmd is a low-level command which could be used to send custom commands to FTP/FTPS server. The first parameter specifies the command to be executed (e.g., USER xxx), and the second one specifies the array of acceptable FTP return codes (230, 331, 332 in case of the 'USER' command).

Actually, you cannot execute shell commands via FTP protocol, so 'ls something' command has no meaning, only the commands compliant to FTP protocol can be used (please see RFC959 for the details of FTP protocol).



Topic viewed 2380 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!