Scriptindex.de

[ Menü ]

Home
News
Scripts
Neuzugänge
Suchen
Bücher
Manuals

[ Inhalt ]

Script eintragen
Tutorial eintragen
Newsletter
Umfragen
Link zu uns
Werbung bei uns
Kontakt
Impressum

[ Statistik ]

Hits gesamt: 5077038
Hits Heute: 705
max. Hits (10.07.07): 6964
User Online: 37
Scripts: 2828

[ Partner ]

CodeBase
I.S.U.M.
LUG Bayreuth
PEAR NEWS
PHP Classes

[ Facebook ]

[ Eigene Domain? ]

[ Buchtipp ]

HTML und Web Publishing Handbuch. XML, DTDs, Perl, CGI
HTML und Web Publishing Handbuch. XML, DTDs, Perl, CGI

Manuals > PHP > ftp_put

ftp_put

(PHP 3>= 3.0.13, PHP 4 )

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


Copyright 1998 - 2009 by I.S.U.M.