## Example

`

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

`

## Description

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.

## Return Values

Returns FTP_FAILED or FTP_FINISHED or FTP_MOREDATA.