ftp_nb_get

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

説明

ftp_nb_get() retrieves a remote file from the FTP server, and saves it into a local file. The difference between this function and ftp_get() is that this function retrieves the file asynchronously, so your program can perform other operations while the file is being downloaded.

戻り値

Returns FTP_FAILED or FTP_FINISHED or FTP_MOREDATA.