cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: Uploading file

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 29 Jul 2002 11:45:43 +0200 (MET DST)

On Sat, 6 Jul 2002, Vandelle, Thierry [FRCO/CER] wrote:

> I know this has already been discussed but I stil have problems to make it
> work: I would need to automatically upload a local file from a client PC so
> I was thinking using cURL to simulate filling a form to pass the file name
> to this form.

[form and code cut out]

> It seems to be working an a test machine (NT4, Apache 1.3.19, PHP 4.0.6,
> cURL 7.8) but I moved things to another server and it fails to POST the
> file name (NT4, Apache 2.0.36, PHP 4.2.1, cURL 7.9)
>
> Any idea?

No, I don't know. You should however upgrade to curl 7.9.8 and no older
version, and then I'd be interested in a protocol dump or something showing
the actual multipart formpost data.

> (Sorry I'm a newbie and I would need this to be able to make a demo site
> next week- would be able to spend more time soon to work on this)

I missed that with a few weeks ;-)

-- 
  Daniel Stenberg -- curl groks URLs
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
Received on 2002-07-29