ftp_get
Downloads a file from the FTP server
Description
boolftp_get
resourceftp_stream
stringlocal_file
stringremote_file
intmode
intresumepos
ftp_get retrieves remote_file
from the FTP server, and saves it to local_file
locally. The transfer mode specified must
be either FTP_ASCII or
FTP_BINARY.
The resumepos parameter was added in PHP 4.3.0.
&return.success;
ftp_get example
]]>
See also ftp_fget, ftp_nb_get and
ftp_nb_fget.