[Bug 2395] New: Error with sftp get wildcard when number of files is over 130

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri May 8 07:32:06 AEST 2015


https://bugzilla.mindrot.org/show_bug.cgi?id=2395

            Bug ID: 2395
           Summary: Error with sftp get wildcard when number of files is
                    over 130
           Product: Portable OpenSSH
           Version: 6.6p1
          Hardware: amd64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: sftp
          Assignee: unassigned-bugs at mindrot.org
          Reporter: matto_30 at yahoo.com

If there are 130 or more files when trying to get files with "get *",
SFTP will give me an error of File "{full_path}/*" not found.

Steps to reproduce:

$ mkdir tmp
$ for i in {1..130}; do touch tmp/file-$i; done
$ sftp centos at localhost:tmp
Connected to localhost.
Changing to: /home/centos/tmp
sftp> get *
File "/home/centos/tmp/*" not found.
sftp>

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list