[Bug 267980] Re: sftp cannot get filenames with "[" and "]" whith space between

Caspar Clemens Mierau launchpad at mierau.eu
Sat Feb 21 15:15:56 GMT 2009


Thanks for taking the time to report this problem. It is actually not a
bug but rather normal behaviour. The trouble you are in is that special
characters need to be "escaped". This are not only brackets, but also
white spaces like " ". So, if you want to transfer a file try this:

file name "test[ ].txt"
$ scp SERVER:test\\\[\\\ \\\].txt DESTINATION

If you want a comformatable way, try installing a shell like "zsh" and
configure auto completion as this enables you to handle this in a very
comfortable way. Feel free to ask in Launchpad Answers for this.

Best.

** Changed in: openssh (Ubuntu)
       Status: New => Invalid

-- 
sftp cannot get filenames with "[" and "]" whith space between
https://bugs.launchpad.net/bugs/267980
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in ubuntu.



More information about the Ubuntu-server-bugs mailing list