benMain / nest-sftp

Sftp Client for Nest.js Framework
MIT License
12 stars 15 forks source link

Please update ssh2-sftp-client to 7.x.x to fix timeout bug #45

Closed ryanoboril closed 2 years ago

ryanoboril commented 2 years ago

Hello, This package is using an older version of ssh2-sftp-client which has a known timeout bug that happens during connect. The solution was that a new package was published, version 7.0.2, which uses a newer version of the ssh2 package, which is where the timeout bug was found.

https://github.com/theophilusx/ssh2-sftp-client/issues/338

But the nest-sftp package is still using broken version 5.3.2:

https://github.com/benMain/nest-sftp/blob/master/package.json#L43

Please update this package to the latest version in the package.json. Thank you

ryanoboril commented 2 years ago

Actually can you take a look at https://github.com/benMain/nest-sftp/pull/46 ?