PHP ftp_nb_continue() Function
Complete PHP FTP Reference Manual
Definition and Usage
The ftp_nb_continue() function continues retrieving/sending a file. (Non-blocking)
This function returns one of the following values:
- FTP_FAILED (send/retrieve failed)
- FTP_FINISHED (send/retrieve succeeded)
- FTP_MOREDATA (send/retrieve in progress)
This function sends/retrieves a file asynchronously. This means your program can perform other operations while the file is downloading.
Syntax
ftp_nb_continue(ftp_connection)
| Parameters | Description |
|---|---|
| ftp_connection | Required. Specifies the FTP connection to use. |
Example
Complete PHP FTP Reference Manual