cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Problem with special character # on target file

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Fri, 20 Apr 2012 22:02:23 +0200

On Fri, Apr 20, 2012 at 09:58:03AM +0200, Chenevard Alfredo wrote:
> /usr/local/bin/curl -v -T /tmp/ga#ga.txt -u C723576 --pubkey
> > export/home/C723576/.ssh/id_rsa.pub --key
> > /export/home/C723576/.ssh/id_rsa -k
> > "sftp://10.152.122.49:22
>
> ... on the target/remote site the file is correct.
> A.Chenevard
>
> >> I need support! No community member has experience with handling of
> special character # within target file...

I just tried the above command (with appropriate arguments, including
/~/ appended to the URL) onto a Linux system with ext3 filesystem and
the file was transferred without incident, with the correct name.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-04-20