PHP Classes

More Instructions

Recommend this page to a friend!

      PHP FTP  >  All threads  >  More Instructions  >  (Un) Subscribe thread alerts  
Subject:More Instructions
Summary:I cannot get a file to upload
Messages:2
Author:zee
Date:2006-06-23 16:14:03
Update:2006-06-25 06:14:07
 

  1. More Instructions   Reply   Report abuse  
Picture of zee zee - 2006-06-23 16:14:03
I am using the /* direct object methods */
How do I specify the file I want to upload?
Is this the only relevant line?
Why are there two entries?
$ftp->put("logo.gif","logo.gif");

Do you have an example using a web form to upload to ftp site?

  2. Re: More Instructions   Reply   Report abuse  
Picture of Erwin Kooi Erwin Kooi - 2006-06-25 06:14:07 - In reply to message 1 from zee
See the PHP manual for ftp_put.
Same arguments except for the first offcourse

php.net/ftp_put