ftp_put() stores local_file on the FTP server, as remote_file. The transfer mode specified must be either FTP_ASCII or FTP_BINARY.
The startpos parameter was added in PHP 4.3.0.
Returns TRUE on success or FALSE on failure.
<?php
$upload = ftp_put($conn_id, $destination_file, $source_file, FTP_ASCII);
?>See also ftp_fput(), ftp_nb_fput(), and ftp_nb_put().
| This HTML Help has been published using the chm2web software. |