(PHP 3>= 3.0.13, PHP 4 >= 4.0.0)
ftp_put --
Überträgt eine Datei auf einen FTP-Server (upload)
Beschreibung:
int ftp_put
(int ftp_stream, string remote_file, string local_file, int mode)
Bei Erfolg wird TRUE, sonst FALSE zurück gegeben.
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);
|
|