cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: file upload using libcurl fails for filenames containing '#'

From: Jeff Pohlmeyer <yetanothergeek_at_gmail.com>
Date: Thu, 21 Jul 2011 04:20:22 -0500

On Thu, Jul 21, 2011 at 3:02 AM, Thomas Falkenberg wrote:

> If the file, I wish to upload, contains a hash sign ('#'), the system
> ignores any character after the '#' and stores the file under a wrong
> filename.

You might try URI-encoding the # sign, e.g.

Use:
  ABC%2322.SAVF

In place of:
ABC#22.SAVF

 - Jeff
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-07-21