[GH-ISSUE #309] Serving all files from directory unzipped #165

Closed
opened 2026-04-08 16:50:47 +03:00 by zhus · 8 comments
Owner

Originally created by @ghost on GitHub (Dec 4, 2023).
Original GitHub issue: https://github.com/sigoden/dufs/issues/309

Im not sure if this is already possible, but downloading a folder contents without zipping.

basically, im currently quering for a list of directory items before downloading them concurrently, given that im storing only a few items in each directory at approximately 50kb, its likely not providing much of a boost to zip/send/unzip. I'm wondering if its possible to forego the list query and just download all from one request

Originally created by @ghost on GitHub (Dec 4, 2023). Original GitHub issue: https://github.com/sigoden/dufs/issues/309 Im not sure if this is already possible, but downloading a folder contents without zipping. basically, im currently quering for a list of directory items before downloading them concurrently, given that im storing only a few items in each directory at approximately 50kb, its likely not providing much of a boost to zip/send/unzip. I'm wondering if its possible to forego the list query and just download all from one request
zhus closed this issue 2026-04-08 16:50:47 +03:00
Author
Owner

@sigoden commented on GitHub (Dec 6, 2023):

I don't understand what you mean.

Can you explain your needs with examples?

@timlagrande

<!-- gh-comment-id:1842200846 --> @sigoden commented on GitHub (Dec 6, 2023): I don't understand what you mean. Can you explain your needs with examples? @timlagrande
Author
Owner

@ghost commented on GitHub (Dec 6, 2023):

I'm wondering if its possible to request all items in a directory unzipped, in one request. The current functionality suits my needs but I'm wondering how flexibly requests for a file are, for example, requesting a fileset via a path like /documents/*.pdf vs /documents/taxes.pdf

<!-- gh-comment-id:1842921404 --> @ghost commented on GitHub (Dec 6, 2023): I'm wondering if its possible to request all items in a directory unzipped, in one request. The current functionality suits my needs but I'm wondering how flexibly requests for a file are, for example, requesting a fileset via a path like /documents/*.pdf vs /documents/taxes.pdf
Author
Owner

@sigoden commented on GitHub (Dec 6, 2023):

There is no word called "directory unzipped".

for example, requesting a fileset via a path like /documents/*.pdf vs /documents/taxes.pdf

Do you mean to download files that match the search

<!-- gh-comment-id:1842963579 --> @sigoden commented on GitHub (Dec 6, 2023): There is no word called "directory unzipped". > for example, requesting a fileset via a path like /documents/*.pdf vs /documents/taxes.pdf Do you mean to download files that match the search
Author
Owner

@ghost commented on GitHub (Dec 6, 2023):

Yes, currently you can download a zipped copy of the directory, I was wondering if individual files could be served "unzipped" or "uncompressed" or "not in zip format" in one request

<!-- gh-comment-id:1842979504 --> @ghost commented on GitHub (Dec 6, 2023): Yes, currently you can download a zipped copy of the directory, I was wondering if individual files could be served "unzipped" or "uncompressed" or "not in zip format" in one request
Author
Owner

@sigoden commented on GitHub (Dec 6, 2023):

You want to manually select multiple files in the directory, and then download them in batches, with one file per download task.

Is this how I understand it?

<!-- gh-comment-id:1842989694 --> @sigoden commented on GitHub (Dec 6, 2023): You want to manually select multiple files in the directory, and then download them in batches, with one file per download task. Is this how I understand it?
Author
Owner

@ghost commented on GitHub (Dec 6, 2023):

Sure, but i was wondering if thats possible to do via one request, rather than concurrent requests

<!-- gh-comment-id:1842991459 --> @ghost commented on GitHub (Dec 6, 2023): Sure, but i was wondering if thats possible to do via one request, rather than concurrent requests
Author
Owner

@sigoden commented on GitHub (Dec 6, 2023):

No, the browser only supports downloading one file if you click on one link.

<!-- gh-comment-id:1842997411 --> @sigoden commented on GitHub (Dec 6, 2023): No, the browser only supports downloading one file if you click on one link.
Author
Owner

@ghost commented on GitHub (Dec 6, 2023):

Thanks

<!-- gh-comment-id:1843001741 --> @ghost commented on GitHub (Dec 6, 2023): Thanks
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sigoden/dufs#165