ftp_fget
Downloads a file from the FTP server and saves to an open file
&reftitle.description;
boolftp_fget
resourceftp_stream
resourcehandle
stringremote_file
intmode
intresumepos
ftp_fget retrieves remote_file
from the FTP server, and writes it to the given file pointer.
&reftitle.parameters;
ftp_stream
The link identifier of the FTP connection.
handle
An open file pointer in which we store the data.
remote_file
The remote file path.
mode
The transfer mode. Must be either FTP_ASCII or
FTP_BINARY.
resumepos
The position in the remote file to start downloading from.
&reftitle.returnvalues;
&return.success;
&reftitle.examples;
ftp_fget example
]]>
&reftitle.changelog;
&Version;
&Description;
4.3.0
resumepos was added.
&reftitle.seealso;
ftp_get
ftp_nb_get
ftp_nb_fget