wodFtpDLX ActiveX Control - FTPReply Method (wodFtpDLXCom)
      
 

Description

Called when wodFtpDLX provides information about executed command and returned reply.


Return Type

None  


Syntax

object.FTPReply Owner, Command, ReplyCode, ReplyText



The FTPReply Method syntax has these parts:

Part Description
object An expression evaluating to an object of type IwodFtpNotify.
Owner Required. A wodFtpDLXCom object.
Command Required. A String value. Executed by wodFtpDLX.
ReplyCode Required. An Integer value. Reply code returned by the server.
ReplyText Required. A String value. Reply text returned by the server.
Remarks
 
This method is called only if you implemented IwodFtpNotify interface in your application, and wodFtpDLX.Notification property has received reference to instance of your implementation.

FTPReply notification method is just debug method that will be called only with FTP-alike transfer protocols (FTP and FTPS). Each time some command is executed by wodFtpDLX, this event will be fired. It will contain executed command, and reply code (and full text) as returned by the server.

If server's reply contains more than one line, they will all be included in ReplyText. If same code produces more than one reply (with different codes), FTPReply will fire more than once. Each time Command argument will contain command that caused this reply to be returned. Typical example is 'RETR' command which causes server to send '150 Data connection open' and '226 Transfer finished'.