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.
Example 1. ftp_put() example
|