[Bug 267980] Re: sftp cannot get filenames with "[" and "]" whith space between
Spayder26
spayder26 at gmail.com
Tue Sep 9 04:00:06 BST 2008
** Summary changed:
- sftp cannot get filenames with "[ " and " ]"
+ sftp cannot get filenames with "[" and "]" whith space between
** Description changed:
sftp cannot get a filename named "South Park - 10x08 - Make Love, Not
Warcraft [ Subtitulado.al.Castellano] [By.Tetsu].avi", but when I
renamed to "South Park - 10x08 - Make Love, Not Warcraft [
Subtitulado.al.Castellano", it can.
- sftp shows error when file with filename has "[ " " ]" character (including spaces):
+ sftp shows error when file with filename has "[" "]" character (with a space or more between):
File [...] not found.
But sftp's remote renaming, moving, and more still working.
Commands used:
$: sftp user at 192.168.1.35
sftp> get "South Park - 10x08 - Make Love, Not Warcraft [ Subtitulado.al.Castellano] [By.Tetsu].avi"
File "/home/user/South Park - 10x08 - Make Love, Not Warcraft [ Subtitulado.al.Castellano] [By.Tetsu].avi" not found.
sftp> rename "South Park - 10x08 - Make Love, Not Warcraft [ Subtitulado.al.Castellano] [By.Tetsu].avi" "South Park - 10x08 - Make Love, Not Warcraft [ Subtitulado.al.Castellano"
sftp> get "South Park - 10x08 - Make Love, Not Warcraft [ Subtitulado.al.Castellano"
(And works!)
Note: Renaming to "South Park - 10x08 - Make Love, Not Warcraft [
Subtitulado.al.Castellano_ [By.Tetsu_.avi" works too.
EDITED:
very confusing:
I've renamed some files for testing and...
sftp> get "selene ]"
Fetching /home/mluser/selene ] to selene ]
/home/mluser/selene ] 100% 53 0.1KB/s 00:00
sftp> get "selene [ ]"
File "/home/mluser/selene [ ]" not found.
sftp> ls -1
incoming
selene , . [ ]
selene , [ ]
selene [
selene [ ]
selene ]
selene[
selene[]
selene]
selenedb
share.tar.gz
so "selene [ ]" exists!
--
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