(PHP 4, PHP 5, PHP 7)
Uploads a file to the FTP server
bool ftp_put ( resource $ftp_stream, string $remote_file, string $local_file, int $mode [, int $startpos = 0 ] )
ftp_put() stores a local file on the FTP server.
Parameters:
ftp_stream
The link identifier of the FTP connection.
remote_file
The remote file path.