Home :: International :: Manuals :: Howto :: FAQ :: Man Pages :: Email Login

 
 

 

ftp_put

(PHP 3>= 3.0.13, PHP 4 , PHP 5)

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)

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);

 
 
 
 
Google
  Web Linuxinfor   
 

Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account

Document on this page is part of "PHP Handbuch". See Index Page for more info about Authorship and Copyright.

1999-2009 Linuxinfor.com. No rights reserved.