-
Notifications
You must be signed in to change notification settings - Fork 5
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
Feature Request: Allow multiple files download #268
Comments
Yup, that sounds like a good idea. |
Since this would likely need to support huge files the common solution of creating a temporary zip file for download would likely be error prone and limit the usability. I looked around and found https://stackoverflow.com/questions/18451856/how-can-i-let-a-user-download-multiple-files-when-a-button-is-clicked which is a decent summary of the options available. I first thought the downloads.download() API to be a good match, but that applies only to browser addon development it seems. |
Whether or not to create a It looks like the downloads API exposes the browser's built-in support for downloading files. I didn't see something that suggested it was limited to addon developers, but I didn't read the API that carefully. |
dCacheView is limited to file-by-file downloads, which is frustrating users since there is support for multi-file selection. This patch builds on the previous one to enable downloads for multi-file selections. The simplest solution is implemented that triggers multiple file downloads in the browser, this is also found to work best with tablets and smartphones, where the traditional method by handling multi-file download by providing a .zip archive of the files is really cumbersome to handle. There is also a completion of the implementation to handle sub-directories in the shared-files view. The end result is that it is now possible to select multiple files in a directory and then download them in a smooth manner. Fixes: dCache#268 Signed-off-by: Niklas Edmundsson <[email protected]>
dCacheView is limited to file-by-file downloads, which is frustrating users since there is support for multi-file selection. This patch builds on the previous one to enable downloads for multi-file selections. The simplest solution is implemented that triggers multiple file downloads in the browser, this is also found to work best with tablets and smartphones, where the traditional method by handling multi-file download by providing a .zip archive of the files is really cumbersome to handle. There is also a completion of the implementation to handle sub-directories in the shared-files view. The end result is that it is now possible to select multiple files in a directory and then download them in a smooth manner. Fixes: dCache#268 Signed-off-by: Niklas Edmundsson <[email protected]>
It looks like that currently only individual files can be downloaded. The possibility to select multiple files or directories for download would be great. Thanks
The text was updated successfully, but these errors were encountered: