Let me rephrase that. This is my first contribution to
php or any open source project for that matter, and I have no idea what the
process is. Do I need to write the code first and submit a patch to someone? Do
I need to work with someone since I assume don't have CVS write access? Is the
process in the comments or documented somewhere and I am going to get flamed for
not reading them? ;)
Thanks,
Jess
From: Binam, Jesse [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 02, 2004 11:30 AM
To: [EMAIL PROTECTED]
Subject: [PHP-DEV] more ftp functions
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