cURL / Mailing Lists / curl-users / Single Mail


Re: I can't upload a file with comma in its filename

From: Daniel Stenberg <>
Date: Sat, 24 Jun 2006 11:53:23 +0200 (CEST)

On Sat, 24 Jun 2006, Drip Stone wrote:

> I can't upload a file with comma in its filename:
> curl -F MAX_FILE_SIZE='10485760' -F userfile=@"1,231-102,307.7z"
> http://localhost/up.php
> and I can upload with
> curl -F MAX_FILE_SIZE='10485760' -F userfile=@"1.7z"
> http://localhost/up.php
> I wonder if it is a bug in curl?

It is a limitation at least, due to curl using comma as a delimiter in that

> Any suggestions?

Rename the file prior to upload or figure out a fix for the problem.

  Commercial curl and libcurl Technical Support:
Received on 2006-06-24