ftp_get

Example

 bool ftp_get ( resource $ftp_stream , string $local_file , string $remote_file , int $mode [, int $resumepos = 0 ] ) 

Description

ftp_get() retrieves a remote file from the FTP server, and saves it into a local file.

Return Values

Returns TRUE on success or FALSE on failure.