RE: [PHP-DEV] more ftp functions

From: Date: Fri, 03 Dec 2004 06:50:10 +0000
Subject: RE: [PHP-DEV] more ftp functions
Groups: php.internals 
Request: Send a blank email to internals+get-13991@lists.php.net to get a copy of this message
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:Jesse.Binam@simplot.com] Sent: Thursday, December 02, 2004 11:30 AM To: internals@lists.php.net 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); } ?>

« previous php.internals (#13991) next »