(PHP3 >= 3.0.13, PHP4 >= 4.0b4)
ftp_put -- FTP サーバーにファイルをアップロードする
説明
int ftp_put (int ftp_stream, string remote_file, string local_file, int mode)
成功時に true、エラー時に false を返します。
ftp_put() は local_file を
remote_file として FTP サーバーに保存します。
mode には、FTP_ASCII または FTP_BINARY
のどちらかを指定する必要があります。