goindex icon indicating copy to clipboard operation
goindex copied to clipboard

Downloading a folder

Open s-water-dev opened this issue 4 years ago • 3 comments

Hello and thank you for the code.

I'm wondering if I can add the download option to a whole folder instead of just the files.

Is there a way to do that? and how?

Thank you again.

s-water-dev avatar Sep 27 '20 20:09 s-water-dev

@s-water-dev Afaik, it's impossible. You have to compress the folder if you wan't to download as a whole folder but you need a real physical server in the back to do that. Since CF worker scripts use serverless funtions, the zipping process can't happen so it's pretty much impossible to download a whole folder from index.

pseudokawaii avatar Oct 12 '20 22:10 pseudokawaii

How about an option to copy links of all files present in current folder into the clipboard? User can later use any download manager which supports batch download to download all files in one go.

piyush2947 avatar Oct 18 '20 03:10 piyush2947

@anurag2947 you can do that with any download grabber tho but having the function implemented in the code itself would be pretty convenient.

pseudokawaii avatar Oct 21 '20 04:10 pseudokawaii