ң

ftp_put

(PHP 3>= 3.0.13, PHP 4)

ftp_put - FTP-.

bool ftp_put (resource ftp_stream, string remote_file, string local_file, int mode)

ftp_put() local_file FTP- remote_file . mode FTP_ASCII FTP_BINARY .

TRUE , FALSE .

1. ftp_put()
$upload = ftp_put($conn_id, $destination_file, $source_file, FTP_ASCII);

ң
ftp_pasv ftp_pwd