wodFtpDLX ActiveX Control - PreTranslateReply Method (wodFtpDLXCom)
      
 

Description

Called before wodFtpDLX evaluates received reply from the server.


Return Type

None  


Syntax

object.PreTranslateReply Owner, Code, Reply



The PreTranslateReply Method syntax has these parts:

Part Description
object An expression evaluating to an object of type IwodFtpNotify.
Owner Required. A wodFtpDLXCom object.
Code Required. An Integer value. Reply code returned by the server.
Reply 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.

This event can be used for monitoring replies FTP server sent as result of our commands, before it is actually received by wodFtpDLX. At this point you can change Code and Reply values to anything you like - and wodFtpDLX will think it received reply as you defined it here.

Beware - what you're doing here is dangerous for wodFtpDLX. You may break its internal mechanism of behavior, and strange results may occur. But - to provide you with more freedom over what's going on 'under the hood', we have provided this event for advanced users.