TScFTPBeforeDownloadFileEvent = procedure(Sender: TObject; const SourceFile: string; Dest: TStream; var StartPos: Int64) of object;


property BeforeDownloadFile: TScFTPBeforeDownloadFileEvent;



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



Sender - the object that raised the event;
SourceFile - holds the initial path to the file that is being copied;
Dest - holds the destination data stream to copy the file to;
StartPos - the offset in bytes relative to the beginning of the file that the downloading starts at.


See Also



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