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

 
 

 

ftp_raw

(PHP 5)

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

 
 
 
 
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.