ssh2
ssh2 copied to clipboard
Feature Request: Streaming `readdir` SFTP call.
I have a SFTP server that hosts a ton of files. I need to list and filter by timestamp. Would be great if I could get a stream of files instead of buffering them all.
I don't really have an objection to this, but I would prefer to mirror the node fs
API. Just recently there was a feature request opened in the node repo requesting this kind of feature (indirectly). If there is at least agreement on the API for that in node, I can probably safely go ahead and eagerly implement it similarly in ssh2-streams
.
If there is at least agreement on the API for that in node, I can probably safely go ahead and eagerly implement it similarly in ssh2-streams.
@mscdex - That sounds good to me. 👍
Is there any update on implementing this feature? The feature request you linked: https://github.com/nodejs/node/issues/15699 is closed. Does that mean it's ready to implement in ssh2-streams
?