cURL / Mailing Lists / curl-users / Single Mail

curl-users

Problem with special character # on target file

From: Chenevard Alfredo <alfredo.chenevard_at_axa-tech.com>
Date: Fri, 20 Apr 2012 09:58:03 +0200

Message: 3
Date: Mon, 16 Apr 2012 22:47:49 +0200 (CEST)
From: Daniel Stenberg <daniel_at_haxx.se>
To: the curl tool <curl-users_at_cool.haxx.se>
Subject: Re: SFTP : Problem with special character # on target file
Message-ID: <alpine.DEB.2.00.1204162247010.15394_at_tvnag.unkk.fr>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

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
>> Yes. If I didn't give a remote file name, like this ....
/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...
A.Chenevard
 
-------------------------------------------------------------------
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