Back to product page

TransferStart callback method


Called when file transfer starts.

Syntax

  • Basic
object.TransferStart (Owner, Filename, ResumeTransfer, Skip)
The TransferStart(object,Owner,Filename,ResumeTransfer,Skip) syntax has these parts:
objectAn expression evaluating to an object of type IwodTelnetNotify
OwnerAn expression evaluating to an object of type wodTelnetDLX
FilenameA String value. Set it to full path where received file will be saved.
ResumeTransferA 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.
SkipA 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 called when you call SendFile/ReceiveFile methods, and file transfer starts. When you're sending files, this notification method 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 event will be called (more than once usually). When transfer completes, TransferEnd will be called.

Platforms

Windows