note 39494 deleted from function.ftp-raw by didou
| From: | didou@php.net | Date: | Fri, 30 Jan 2004 13:17:01 +0000 |
| Subject: | note 39494 deleted from function.ftp-raw by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-64432@lists.php.net to get a copy of this message | ||
Note Submitter: snowkrash@zonnet.nl
----
This is using the FTP's quote command through PHP.
"quote Send arbitrary ftp command" (MSDOS FTP)
PHP FTP client:
<?php
$aFTPreturn = ftp_raw($rFp, "USER joeblow");
/*
$aFTPreturn is an array with an element 0, containing:
"331 User name okay, need password."
*/
?>
FTP user client:
ftp> quote USER joeblow <return>
331 User name okay, need password.
ftp> _
Jordi, the Netherlands