ftp_raw (PHP 5 CVS only) ftp_raw -- Sendet ein beliebiges Kommando an den FTP-Server Beschreibungarray 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()
|