Skip to content

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