ftp_async_fput

(unknown)

ftp_async_fput -- Stores a file from an open file to the FTP server asyncronly

Description

bool ftp_async_fput ( resource ftp_stream, string remote_file, resource fp, int mode [, int startpos])

ftp_async_fput() uploads the data from the file pointer fp until end of file. The results are stored in remote_file on the FTP server. The transfer mode specified must be either FTP_ASCII or FTP_BINARY. The difference between ftp_fput() is that this function uploads the file asyncronously, so you can do other things in your program while the file is uploadde.

Returns TRUE on success, FALSE on error.

See also ftp_async_put(), ftp_async_continue(), ftp_put() and ftp_fput().