I apologize if I am
posting this to the wrong list I am a newbie to the lists.
I would like to add
some functions to the ftp extention. Most notably at this point I am interested
in a ftp_get_resp() that returns ftp->inbuf and perhaps the response code
from the server. Or maybe it could return the whole conversation. A (very)
basic example of what I am aiming for is below. How should I
proceed?
Thanks,
Jess
<?php
$conn =
ftp_connect('ftp.somewhere.com');
$ok =
ftp_login($conn,'user','pass');
if(!$ok){
echo
ftp_get_resp($conn); }
$ok =
ftp_put();
if(!$ok){
echo
ftp_get_resp($conn); }
?>
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php