and getting "selene[]" (whithout spaces) works too. sftp> get "selene[]" Fetching /home/mluser/selene[] to selene[] /home/mluser/selene[] 100% 53 0.1KB/s 00:00
** Summary changed: - scp cannot get filenames with "]" + sftp cannot get filenames with "]" ** Description changed: - scp and 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", they can. + 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. - scp and sftp show the same error when file has "]" character: + sftp shows error when file has "]" character: File [...] not found. But sftp's remote renaming, moving, and more still working. Commands used: $: sftp [EMAIL PROTECTED] sftp> get "South Park - 10x08 - Make Love, Not Warcraft [ Subtitulado.al.Castellano] [By.Tetsu].avi" File "/home/mluser/incoming/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!) ** 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 has "]" character: File [...] not found. But sftp's remote renaming, moving, and more still working. Commands used: $: sftp [EMAIL PROTECTED] sftp> get "South Park - 10x08 - Make Love, Not Warcraft [ Subtitulado.al.Castellano] [By.Tetsu].avi" - File "/home/mluser/incoming/South Park - 10x08 - Make Love, Not Warcraft [ Subtitulado.al.Castellano] [By.Tetsu].avi" not found. + 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!) ** 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 has "]" character: File [...] not found. But sftp's remote renaming, moving, and more still working. Commands used: $: sftp [EMAIL PROTECTED] 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. ** Summary changed: - sftp cannot get filenames with "]" + sftp cannot get large filenames with "]" ** 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 has "]" character: + sftp shows error when file with large filenale has "]" character: File [...] not found. But sftp's remote renaming, moving, and more still working. Commands used: $: sftp [EMAIL PROTECTED] 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. ** Summary changed: - sftp cannot get large filenames with "]" + sftp cannot get filenames with "[ " and " ]" ** 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 large filenale has "]" character: File [...] not found. But sftp's remote renaming, moving, and more still working. Commands used: $: sftp [EMAIL PROTECTED] 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! ** 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 large filenale has "]" character: + sftp shows error when file with filename has "[ " " ]" character (including spaces): File [...] not found. But sftp's remote renaming, moving, and more still working. Commands used: $: sftp [EMAIL PROTECTED] 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. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs