ftp_get

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

説明

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

戻り値

Returns TRUE on success or FALSE on failure.