Download a file from the FTP server, and save it into a local file (non-blocking):
The ftp_nb_get() function gets (downloads) a file from the FTP server, and saves it into a local file (non-blocking).
Tip: This function (as opposite to ftp_get()) retrieves the file asynchronously, so you can perform other operations while the file is being downloaded.
|ftp_connection||Required. Specifies the FTP connection to use|
|local_file||Required. Specifies the local file path (will be overwritten if the file already exists)|
|server_file||Required. Specifies the server file to download|
|mode||Required. Specifies the transfer mode. Possible values: FTP_ASCII or FTP_BINARY|
|startpos||Optional. Specifies the position in the remote file to start downloading from|
|Return Value:||This function returns one of the following values: