Yes php.net is where I looked first. Also several sites on php.
perhaps my understanding of php is wrong. I assumed that php was resolved
and run at the server, not the client. So when the ftp command is run its
running on the server that interrupts the php and ftp command and attempts
to find the file on the server to transfer (not on the client).
is this incorrect? your saying that the php server interrupts the code and
starts a process on the client side to upload the file?
"Ian.H" <ia*@WINDOZEdigiserv.net> wrote in message
news:pa****************************@bubbleboy.digi serv.net...
On Fri, 16 Jul 2004 15:45:49 -0700, Anthony Reeves wrote:
I've looked, and not sure how to do this.
Hmm.. where? not php.net I'm guessing ;)
I need to transfer a file from the local client machine to the web
server. this would-be a whole a directory of files. I looked at ftp_put, but I
don't think this will work with client to server.. or will it?
That's the general ideal of FTP =)
can someone point me to the documentation on how to do this, if its
possible?
<http://uk.php.net/manual/en/function.ftp-put.php>
You'll need to loop through the dir to upload all the files.. see the user
contributions to help in that part =)
Regards,
Ian
--
Ian.H
digiServ Network
London, UK
http://digiserv.net/