cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Spaces in filename during HTTPS file transfer

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 14 Oct 2011 21:53:19 +0200 (CEST)

On Mon, 10 Oct 2011, Rajesh Naganathan wrote:

> Does libcurl take care of spaces properly during HTTPS file transfer?

libcurl doesn't add or convert any spaces for you, no. A URL *cannot* contain
a space (0x20) so of course you need to make sure URLs you pass to libcurl
don't contain any such. Most possibly by encoding them as %20.

Yes, curl the tool may do some magic to better guess what the user wants, but
curl is not libcurl! =)

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-10-14