wodTelnetDLX ActiveX Control - TransferStart Method
      
 

Description

Called when file transfer starts.


Return Type

None  


Syntax

object.TransferStart Owner, Filename, ResumeTransfer, Skip



The TransferStart Method syntax has these parts:

Part Description
object An expression evaluating to an object of type wodTelnetNotify.
Owner Required. A wodTelnetDLXCom object. Reference to wodTelnetDLXCom instance that called this callback method.
Filename A String value. Set it to full path where received file will be saved.
ResumeTransfer A Boolean value. Set it to True if you want your transfer to be resumed. If you set it to False, local file will be overwritten.
Skip A Boolean value. Set it to True if you want to skip receiving the file.

Remarks

NOTE: This method is called only if you implemented IwodTelnetNotify interface in your application, and wodTelnet.Notification property has received reference to instance of your implementation.

TransferStart notification method is calledwhen you call SendFile/ReceiveFile methods, and file transfer starts. When you're sending files, this notification is mostly informational since none of provided arguments actually make any difference in the transfer process (since all these options are determines by remote side, not you). When you're receiving files, these arguments are used to determine how is file to be saved locally, if it will be resumed etc..

 
During file transfer, TransferProgress notification will be called (more than once usually). When transfer completes, TransferEnd will be called.

.