NYCPHP Meetup

NYPHP.org

FTP client

Brian brian at preston-campbell.com
Sat Jan 11 10:08:54 EST 2003


Anyone have any experience with PHP's FTP functions?  I am working on a 
specialized FTP client that will update flash rom in an embedded system.  On 
an AMP system, I want to be able to basically automate the process since the 
current method is from the command line.

The only problem I am facing, since I have taken care of making the connection 
and issuing the commands to the server, is parsing the response from the 
server.  In this case, outputting the response to the browser is essential.

To go into more detail, at the command line, once the connection has been made 
the 'hash' function is called.  The server shows the progress of the file 
transfer in '#' hash marks and proceeds with the update, also outputting any 
further response from the server.  I want to emulate this process in the PHP 
script.  Any help would be greatly appreciated.

Brian




More information about the talk mailing list