theophilusx / ssh2-sftp-client

a client for SSH2 SFTP
Apache License 2.0
808 stars 199 forks source link

fastGet to stream #521

Closed Binyomin-Cohen closed 8 months ago

Binyomin-Cohen commented 8 months ago

This is just a feature request. It would be really useful for the fastGet to use a stream as a destination instead of just a file path. I'm running this in AWS Lambda, so all the processing is done in memory.

theophilusx commented 8 months ago

The restriction to only using a filename is due to restrictions in the underlying ssh2 module and therefore cannot be implemented at the ssh2-sftp-client level. You would need to log this feature request with the ssh2 project.

Binyomin-Cohen commented 8 months ago

got it