GetFTPFile (open)
This function will retrieve a file from the ftp site
Syntax
LOADLIB "wh::internet/ftp.whlib";
RECORD FUNCTION GetFTPFile(INTEGER connectionid, STRING filename)
Parameters
INTEGER connectionid
Integer id of the control connection
STRING filename
Name of the file to retrieve
Return value
RECORD
A record describing the file, a non-existing record on failure
data
Blob with the data of the file
size
Size of the file