-
Notifications
You must be signed in to change notification settings - Fork 245
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
Multiple Concurrent Connections #18
Comments
Can you explain what you mean by "multiple concurrent connections?" You can create as many instances of the FTP client that you need, provided your FTP server allows multiple connections (from the same user/IP/etc). |
I am referring to the ability to make multiple calls to get/put in order to download/upload multiple files in parallel. Do i achieve this by what you proposed? Multiple FTP client instances? I would expect to do it with one instance and call connection.get() or connection.put() multiple times but that will do as well. |
The way the FTP protocol is designed, you cannot perform multiple transfers on a single connection at the same time. If you need to do it in parallel, you might look into using generic-pool with this module. |
Thanks for your time mscdex! |
@mscdex I'm trying to do multiple 'put' operation in one connection can you show me an example how to this using generic-pool? |
@alolis You can't do multiple operations in parallel on a single connection. If you're using something like |
@mscdex , wrong user :p You probably meant @fr-kshibata |
Ah yes, sorry. |
Hello,
I would like if this feature is supported by node-ftp. I went through documentation but i couldn't find anything. If not, is it going to?
Thank you for your time
The text was updated successfully, but these errors were encountered: