-
Notifications
You must be signed in to change notification settings - Fork 6
Closed
Labels
Description
tldr: bulk-downloads of all files in a folder/share
My User Story
I have a folder full of pictures that i want to share with a friend. (f.e. the photos from a shared vacation)
- I want my friend to be able to view the folder and individidual files in the browser (that works great already)
- I want my friend to be able to download all files from the folder. Currently, he would need to download each image individually.
How to implement & considerations
I see two options really:
- All files are concetenated on-the-fly into 1 big file (f.e. a .zip or .tar file)
- All files are downloaded individually
Option 1. is the nicer one imho, its also how most other services do it (f.e. Google drive, Dropbox etc.). But it might need a cache directory? That would kinda contradict the minimalist "leave no marks on your filesystem" goal of pupcloud.
Option 2. has no dependencies, but browsers do not like a client-side invocation of lots of file downloads. (Because Its not very userfriendly - what happens on name conflicts etc.)