AtReadFTPFile Method
Class: FTP_SERVICE
Description:Raised after calling API function InternetReadFile()
This event is raised after calling API function InternetReadFile().
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
liRead
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 The flags that indicate various options.
Type Boolean
Direction Input
The table of values - FTP_SERVICE::ReadFTPFile(). The table of values - FTP_SERVICE::ReadFTPFile().
lcBuffer
Data get from FTP
Type Numeric
By reference  
Direction Input
fResult
Result of calling InternetReadFile
Type Numeric
Direction Input
See also