note 39494 added to function.ftp-raw
| From: | snowkrash at zonnet dot nl | Date: | Fri, 30 Jan 2004 12:44:33 +0000 |
| Subject: | note 39494 added to function.ftp-raw | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-64430@lists.php.net to get a copy of this message | ||
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
----
Manual Page -- http://www.php.net/manual/en/function.ftp-raw.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+39494
Delete -- http://master.php.net/manage/user-notes.php?action=delete+39494&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+39494&report=yes
Search -- http://master.php.net/manage/user-notes.php