cURL / Mailing Lists / curl-library / Single Mail


Re: Spaces in filename during HTTPS file transfer

From: Daniel Stenberg <>
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! =)

List admin:
Received on 2011-10-14