BeforeReadFTPFile Method
Class: FTP_SERVICE
This event is raised before calling API function FtpOpenFile().
Object.BeforeReadFTPFile
Parameter
lcRemoteFile
Remote file name Data or file name
Type Character
By reference  
Direction Input
Name and Path of the file on the FTP Server to bring down. Data or file name for the contents of the file to be stored in.
liData
Buffer size
Type Integer
Direction Input
liRStart
Start position of remote file
Type Integer
Direction Input
If value 0 , then file will be read all. If value >0 , then file will be read from position.
liLStart
Start position of local file/string buffer
Type Integer
Direction Input
If value 0 , then data will write into begin of file. If value >0 , then file will be write from into start position.
liFlags
Mode flags
Type Boolean
Direction Input
The table of values - FTP_SERVICE::ReadFTPFile().
lnFlag
The flags that indicate various options.
Type Numeric
Direction Input
The table of values - FTP_SERVICE::ReadFTPFile().
See also