PHP ftp_nb_continue() function

The ftp_nb_continue() function continues to receive/send a file to the FTP server.This function sends/retrieves the file asynchronously. This function was introduced in PHP 4.3.0.

Syntax:

ParameterDescriptionIs compulsory
ftp_streamThe link identifier of the FTP connection.compulsory

Returns

The ftp_nb_continue() function returns FTP_FAILED or FTP_FINISHED or FTP_MOREDATA.

  • FTP_FAILED (send/receive failed)
  • FTP_FINISHED (send/receive completed)
  • FTP_MOREDATA (send/receive in progress)

Example 1

Output:


PHP ftp nb_continue() Function

Example 2

Output:


PHP ftp nb_continue() Function
Next TopicPHP FTP




Latest Courses