| GetFTPFile |
| |
This function will retrieve a file from the ftp site |
| |
| Library |
 |
wh::internet/ftp.whlib |
| |
| Syntax |
 |
PUBLIC RECORD FUNCTION GetFTPFile (INTEGER connectionid,STRING filename) |
| |
| Parameters |
 |
| connectionid |
 |
Integer id of the control connection |
 |
| filename |
 |
Name of the file to retrieve |
 |
|
| |
| Returns |
 |
A record describing the file, a non-existing record on failure |
| |
The record contains the following cells:
| size |
 |
Size of the file |
 |
| data |
 |
Blob with the data of the file |
 |
|
| |