Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Is it possible to build a FS that gets files from URLs? #361

Open
pexch opened this issue Sep 8, 2023 · 0 comments
Open

Is it possible to build a FS that gets files from URLs? #361

pexch opened this issue Sep 8, 2023 · 0 comments

Comments

@pexch
Copy link

pexch commented Sep 8, 2023

Is it possible build a File System that will be able to get files from URLs? I did some playing around and noticed that it may be possible but it seems the cmd "RETR" would like the whole stream available from the get-go which is not efficient for large files that I would be downloading on the fly:

.then(() => Promise.try(() => this.fs.read(filePath, {start: this.restByteCount})))

So would you say that it is possible to do such a thing? And if so are there any examples or maybe ideas you can put forward to help me achieve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant