cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: comma separator for file upload

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 20 Mar 2006 08:20:01 +0100 (CET)

On Sat, 18 Mar 2006, Sugam Jain wrote:

> If you go here <http://curl.hostingzero.com/docs/manual.html> then to HTTP
> (POST) you'll see what i mean. I'm specifically talking about file upload
> using HTTP Post with form values. When you are putting in a form value for
> the file upload, it unfortunately uses comma as a separator. Is there a
> workaround to this?

Unfortunately not.

> I'd like to be able to support filenames with commas in them (as there is no
> reason they cant necessarily have commas)

Currently you'd need to rename such a file before trying to pass it on using
one of these options.

I'm open for suggestions or even patches that would improve this situation.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-03-20