Open Zippersk opened 5 years ago
i also found it, did you have resolve ?
No.
No.
The readme file of this tool mentions link management. Perhaps the timeout can be set to 0 when the constructor is initialized, which can solve the problem.
You should check on your side not to execute the second downloadFile is not executed until the first one has finished, either by usse of the callback or by promisifing the calls and chaining them.
Otherwise you will need 2 different SMB connections
I have this code:
Then I want download two files:
But I get error:
Uncaught Error: connect EISCONN 127.0.0.1:445 - Local (127.0.0.1:45618)
. When I comment one of the function call (or wait for first one to finish), everythings is fine. It seems that the client is creating new connection for every function call instead of use already created one.