** 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 [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

Reply via email to