cURL / Mailing Lists / curl-users / Single Mail

curl-users

SFTP : Problem with special character # on target file

From: Chenevard Alfredo <alfredo.chenevard_at_axa-tech.com>
Date: Wed, 11 Apr 2012 15:26:05 +0200

Hi to all

I have the following problem and I hope somebody can help.

I try :
/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/tmp/ga\#ga.txt"

On the target system the file looks

4 -rw-r--r-- 1 C723576 C723576 15 Apr 11 14:40 ga\

What can/must I do so the filename are complete on the target system ?

Regards Alfredo

-------------------------------------------------------------------
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-11