ftp_put (PHP 3>= 3.0.13, PHP 4 ) ftp_put --
Überträgt eine Datei auf einen FTP-Server (upload)
Beschreibungint ftp_put ( int ftp_stream, string remote_file, string local_file, int mode)
Gibt bei Erfolg TRUE zurück, im Fehlerfall FALSE.
ftp_put() speichert die per
local_file bestimmte Datei auf den
FTP-Server als Datei namens remote_file.
Der Übertragungs-Modus-Parameter mode
muss entweder FTP_ASCII oder
FTP_BINARY lauten.
Beispiel 1. ftp_put()-Beispiel:
$upload = ftp_put ($conn_id, "$destination_file", "$source_file", FTP_ASCII);
|
|
|