type
TScFTPBeforeDownloadFileEvent = procedure(Sender: TObject; const SourceFile: string; Dest: TStream; var StartPos: Int64) of object;
property BeforeDownloadFile: TScFTPBeforeDownloadFileEvent;
Description
Occurs before a file will be downloaded from the FTP server to the local machine.
Parameters:
| • | 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