faqts : Computers : Programming : Languages : PHP : Common Problems : FTP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

14 of 32 people (44%) answered Yes
Recently 2 of 10 people (20%) answered Yes

Entry

How can I use PHP as a FTP client?

Jul 19th, 2004 23:30
Alder Rus, Daniel Stenberg, Bob Schader, Nathan Wallace, http://www.directoryonclick.com , http://www.singapore-yellow-pages.com


If you get the ncFTP 3.0 beta package, it comes with two small apps:
ncFTPPut & ncFTPGet. These can be called from the command line to PUT 
or
GET files using the ncFTP client.
    http://www.ncftp.com/
You may use cURL via Exec().  This tool also supports HTTP PUT/GET/POST
and HTTPS (and GOPHER).
    http://curl.haxx.se/
If you want something that is built into PHP, rather than using exec()
then check out:
    http://wso.williams.edu/~chagenbu/horde/
I have tried searching under the above URL at 
wso.williams.edu/~chagenbu
and have found no reference to anything todo with PHP. - R Schader
http://www.php.net/manual/function.exec.php3