type

 TScFTPBeforeUploadFileEvent = procedure(Sender: TObject; Source: TStream; const DestFile: string; var StartPos: Int64) of object;

 

property BeforeUploadFile: TScFTPBeforeUploadFileEvent;

 

Description

Occurs before a file will be uploaded from the local machine to the FTP server.

 

Parameters:

Sender - the object that raised the event;
Source - holds the source data stream that is being copied;
DestFile - holds the destination path to copy the file to;
StartPos - the offset in bytes relative to the beginning of the file that the uploading started at.

 

See Also

Upload

 

SecureBridge Components, Copyright © 2007-2021 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support