wodFtpDLX ActiveX Control - PreTranslateCommand Method (wodFtpDLXCom)
      
 

Description

Called before the command is sent to FTP server.


Return Type

None  


Syntax

object.PreTranslateCommand Owner, Command



The PreTranslateCommand 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. Command sent to 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 commands that are sent to FTP (or FTPS) server before they are actually transmitted. At this point, you can change this data and it will be sent as you define it - without wodFtpDLX knowing anything about it.

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.