説明
bool
ftp_put
( resource ftp_stream, string remote_file, string local_file, int
mode)
ftp_put()
は
local_file
を
remote_file
として FTP サーバーに保存します。
mode
には、
FTP_ASCII
または
FTP_BINARY
成功時に
TRUE
、エラー時に
FALSE
を返します。
例 1
ftp_put()
の例
$upload = ftp_put($conn_id, $destination_file, $source_file,
FTP_ASCII);
|
|