AfterReadFTPFile Method
Class: FTP_SERVICE
This event is raised after last calling API function InternetReadFile().
Object.AfterReadFTPFile
Parameter
lcRemoteFile
Remote file name
Type Character
By reference  
Direction Input
Name and Path of the file on the FTP Server to bring down.
lcData
Data or file name
Type Character
By reference  
Direction Input
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().
fResult
Result of calling InternetReadFile
Type Numeric
Direction Input
See also