Javatpoint Logo
Javatpoint Logo

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:

Parameter Description Is compulsory
ftp_stream The 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





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA