ftp_put

ftp_put -- FTP サーバーにファイルをアップロードする

説明

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

成功時に true、エラー時に false を返します。

ftp_putlocal_fileremote_file として FTP サーバーに保存します。 mode には、FTP_ASCII または FTP_BINARY のどちらかを指定する必要があります。