cURL / Mailing Lists / curl-users / Single Mail


posting doesn't work on lighttpd

From: Patrick Aljord <>
Date: Sun, 2 Mar 2008 19:04:48 -0500

Hey all,

I'm using this command to upload a file to my server:

curl -F tracer=@test.png

It works on all my servers that use apache but on my lighttpd I get this error:

 POST /uploadtest.php HTTP/1.1
 Authorization: Basic ZmlsZXM6ZmlsZXM=
 User-Agent: curl/7.17.1 (x86_64-pc-linux-gnu) libcurl/7.17.1
GnuTLS/2.0.4 zlib/1.2.3
 Accept: */*
 Content-Length: 205
 Expect: 100-continue
 Content-Type: multipart/form-data;

is there an option that could make it work?

thanks in advance

Received on 2008-03-03