Archived Forum Post

Index of archived forum posts


Ftp Command and Response

Oct 08 '13 at 12:22

Hi, i am trying to create a custom ftp client that would get the command and reply messages from the ftp server like the filezilla did. i was able to upload multiple files asynchronously but i need to display server messages.



It's currently possible in programming languages that support event callbacks (.NET, C++, Objective-C, languages using the ActiveX, etc.) Create a event callback method to handle the ProgressInfo event. The ProgressInfo has 2 string args -- name and value. The name arg will contain "FtpCmdSent" or "FtpCmdResp" and the value arg will contain the raw command/response. There are other ProgressInfo events with different keywords for name, but you can filter for these to get the commands and responses.