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: 5077044
Hits Heute: 711
max. Hits (10.07.07): 6964
User Online: 31
Scripts: 2828

[ Partner ]

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

[ Facebook ]

[ Eigene Domain? ]

[ Buchtipp ]

Das eigene Web mit HTML, CSS und JavaScript - M+T Werkstatt . 15 Workshops
Das eigene Web mit HTML, CSS und JavaScript - M+T Werkstatt . 15 Workshops

Manuals > PHP > ftp_raw

ftp_raw

(PHP 5 CVS only)

ftp_raw -- Sendet ein beliebiges Kommando an den FTP-Server

Beschreibung

array ftp_raw ( resource ftp_stream, string command)

Sendet ein beliebiges Kommando command an den FTP-Server. Gibt die Antwort des Servers als Array von Strings zurück. Die Antwort des Servers wird weder geparsed, noch stellt ftp_raw() fest, ob das Kommando erfolgreich ausgeführt wurde.

Beispiel 1. Der Gebrauch von ftp_raw(), um sich manuell auf einem FTP-Server anzumelden.

<?php
$fp
= ftp_connect("ftp.example.com");

/* This is the same as:
   ftp_login($fp, "joeblow", "secret"); */
ftp_raw($fp, "USER joeblow");
ftp_raw($fp, "PASS secret");
?>

Siehe auch ftp_exec()


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