cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: SFTP : Problem with special character # on target file

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 16 Apr 2012 22:47:49 +0200 (CEST)

On Wed, 11 Apr 2012, Chenevard Alfredo wrote:

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

Is that remote file system even capable of handling '#' letters in file names?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
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-16