Skip to content
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

Fixed error when trying to upload multiple files. #15

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ollar
Copy link

@ollar ollar commented Jun 14, 2017

I faced an error when tried to upload full app-dist directory to the server. The sftp client refused to initialize and fell with an error in function 'sshClient#putFile'. After small debugging I found that opening new connection for every new file is hard for my server so it refused to do it. So I added a function 'putFiles' that copies 'putFile' functional but is refactored slightly to open connection once, do staff work and tear down.

You can merge this request or check out the code and write your own solution for that, it's up to you!

Great plugin, thanks @arenoir!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant