ftp_put

(PHP3 >= 3.0.13, PHP4 >= 4.0b4)

ftp_put -- Uploads a file to the FTP server.

Description

int ftp_put (int ftp_stream, string remote_file, string local_file, int mode)

Returns true on success, false on error.

ftp_put() stores local_file on the FTP server, as remote_file. The transfer mode specified must be either FTP_ASCII or FTP_BINARY.


Hosted by Tonec Inc.