-
Notifications
You must be signed in to change notification settings - Fork 29.5k
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
Web: Support a Download action on folder context menus in explorer #83579
Comments
Exploration in https://github.com/microsoft/vscode/compare/ben/chrome-fs-api leveraging new Chrome native fs APIs. More context in https://github.com/MicrosoftDocs/vsonline/issues/57#issuecomment-581017834 |
@bpasero I think this is starting to become a bit of an issue. Has there been any investigations here? Rather than using native fs APIs, couldn't we just zip and return a single file? |
None that lead to a conclusion I would say.
We would need to use a third party library for this purpose, as there is no built in zip support in node.js for multi-file archives. We already have some usage of such a library in core (I think to extract extensions) so I think it is doable. Probably needs a bit of investigation if we can do it in a clever way that involves streams and not requires all of the files to be compressed in-memory or even to disk. |
Leveraging new Chrome/Edge file system access API (https://wicg.github.io/file-system-access/) to support downloading folders or large files. |
Very cool 👏 |
It would be nice to support a Download option for folders in the explorer just like with files.
Ref: #83225
The text was updated successfully, but these errors were encountered: