-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DownloadFromRemote does not seem to work #46
Comments
Can you give me a bit more information about how you are trying to use the library?
I know it is not always possible to provide a file, but it would be very useful to me to get an example file so that I can try to reproduce the bug locally. Thanks for reporting! |
Please try set a long and reasonable Timeout after scp client created, this solved my issue. |
I think there are two possible ways to resolve this issue (in terms of improvements of the library):
However, in my opinion the current implementation of the timeout is rather flawed. I would expect that a timeout is only triggered when the client has waited for a long period of time without receiving any data. In the current implementation, the timeout is simply a timer that expires after one minute in which case the error is thrown. Thoughts? |
Closing in favor of #47 . |
Hello, trying to copy a .tar archive from my remote client and I consistently get
Error: timeout when download files
any idea what causes this error? Any feedback or changes would be appreciatedThe text was updated successfully, but these errors were encountered: