curl-and-php
Re: multiple file uploads
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 24 Mar 2003 11:55:29 +0100 (CET)
Date: Mon, 24 Mar 2003 11:55:29 +0100 (CET)
On Sat, 22 Mar 2003, Warren Sumilang wrote:
> Can anyone point me to examples/links of using curl/php to handle multiple
> file uploads to an ftp server?
> There doesn't seem to be ANY examples of this... it's always just single
> file upload examples .
The last time I looked, the PHP/CURL module didn't support multiple
operations on the same handle, so it will not work on persitant connections.
Thus, operating on multiple files is simply the same thing as what you do
with a single file, just do it many times with a new file every time.
Re-using of handles and thus re-using of existing connections should of
course be supported as that greatly increases transfer performance. I'm sure
the guys involved appreciate patches etc.
-- Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sfReceived on 2003-03-24