Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
SFTP download hangs after a certain number of files. #560
When recursively downloading a directory from an SFTP connection, the download will always hang after a certain number of files (always somewhere around 60).
The number of files that are downloaded before hanging is always the same for the same directory. I have checked this by having it skip some files, to test if it was the specific file or the number of files.
With a few different parent directories I tested with, it would hang on file 59, 60, 61 and 66, depending on the directory. It is always the same count for the same directory.
When interrupting the program in this hung state, this is the stack trace: