Back to product page

TransferStart event


Fires when file transfer starts.

Syntax

  • Basic
Private Sub object_TransferStart (ByRef Filename, ByRef ResumeTransfer, ByRef Skip)
The TransferStart(Filename,ResumeTransfer,Skip) syntax has these parts:
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

TransferStart event fires when you call SendFile/ReceiveFile methods, and file transfer starts. When you're sending files, this event 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 fired (more than once usually). When transfer completes, TransferEnd will be fired.

Platforms

Windows