Description
array
ftp_raw ( resource ftp_stream, string command)
Sends an arbitrary command to the FTP
server_ Returns the server's response as an array of strings_
No parsing is performed on the response string, nor does
ftp_raw() determine if the command succeeded_
Ejemplo 1_ Using ftp_raw() to login to an FTP server manually_ <?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");
?> |
|
See Also:
ftp_exec()