bool ftp_fput ( resource $ftp_stream , string $remote_file , resource $handle , int $mode [, int $startpos = 0 ] )
ftp_fput() uploads the data from a file pointer to a remote file on the FTP server.
Returns TRUE on success or FALSE on failure.