Skip to content

Feature Request: Streaming readdir SFTP call. #623

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
surjikal opened this issue Oct 16, 2017 · 3 comments
Open

Feature Request: Streaming readdir SFTP call. #623

surjikal opened this issue Oct 16, 2017 · 3 comments

Comments

@surjikal
Copy link

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.

@mscdex
Copy link
Owner

mscdex commented Oct 16, 2017

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.

@Marak
Copy link

Marak commented Oct 16, 2017

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. 👍

@nylon22
Copy link

nylon22 commented Aug 9, 2024

Is there any update on implementing this feature? The feature request you linked: nodejs/node#15699 is closed. Does that mean it's ready to implement in ssh2-streams ?

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

4 participants