google-drive-ocamlfuse
google-drive-ocamlfuse copied to clipboard
Suggestion: Set `stream_large_files` default to `true`
For directories with a bunch of large files it is simply impossible to open it with an explorer and because the download for large files is started immediately it is unclear to the user why 1. the directory does not list files and 2. that large files are downloaded in background immediately slowing down low spec systems and eating all bandwidth.
At least i had the problem that when accessing a directory with a bunch of +1G files, download of the first file started immediately, i checked the process with nethogs
.
Is it a bug or default behaviour to download files of a directory immediately independent of the file size?
But even if the file download would only start when accessing the file, for large files (e.g. video, SQL dumps, logs etc.) it is simply impractical to download instead of streaming them. Point is, i think for most users it is more practical to stream large files by default.
Is there a specific reason large files are not streamed by default?
Is it a bug or default behaviour to download files of a directory immediately independent of the file size?
Navigating with shell/bash/etc. won't download files unless you access them. But if you use a graphical file-system explorer, it probably tries to get some bytes to show you a preview, so it will download alla files.
Is there a specific reason large files are not streamed by default?
If you access them often, caching the file is more efficient and uses less bandwith.
But if you use a graphical file-system explorer
Yes, forgot to mention that, i accessed them via gnome files.
And is there a specific reasons why listing the files in an explorer needs downloading them, not when they are accessed?
And is there a specific reasons why listing the files in an explorer needs downloading them, not when they are accessed?
Usually explorers like to show some kind of preview of the file, and so they read some of the content of the file even if you don't click on the item.
Usually explorers like to show some kind of preview of the file, and so they read some of the content of the file even if you don't click on the item.
Thanks for the feedback!
In my case i used a list view.
Idea: Maybe it is possible to identify full file access and reading metadata so that explorers can show big files without loading them first.