-
Notifications
You must be signed in to change notification settings - Fork 352
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
Option to download folders as tar #308
Comments
If only one compression format is supported, zip is the only choice. Because zip is the most versatile, the evidence is that windows can directly open zip, but other formats cannot. Dufs is not prepared to support two compression formats, just like github has always only supported zip. Dufs supports downloading compressed streams. The compression algorithm won't have a huge impact on download times. The biggest impact has always been bandwidth. |
In my case bandwidth is not the problem. I can send files using dufs with an average speed of 40 MB/s. Whereas, for a folder it around 6 MB/s. Tried to download the same folder with the .tar option in
I do understand that the universal support of zip makes it a better default. You could implement tar by providing a flag like Correction: speed of zip is around 3.5 MB/s when I tested it right now. |
My phone has the computing power of a potato so that explains the slow speed of zip. I guess I'm gonna have to stick to miniserve for sending folders and dufs for anything else. Thanks for the response anyway |
#319 supports |
Tried it on my PC and it works really well. Getting 170M+ speeds whereas with compression it is 20M. Haven't tried it on my phone, but I'm hoping it will be much faster than before. |
Specific Demand
zip is really slow when sending large folders with multiple files, since it has to do compression.
Having an option to download as tar (without any compression like gz, bz xz, etc.) would be the better option.
The text was updated successfully, but these errors were encountered: