single file download
See original GitHub issueHaving single file download would be cool. A couple options:
dat download <key>/file.txt
,dat <key>/file.txt
- download file with in memory metadatadat clone <key>/file.txt
- download file with sparse state
The first would be easier and can be implemented now. Second requires some sparse state tracker. This is because if you have a .dat
folder and run dat sync
it will try to download the whole dat by default, even if you only cloned a single file. We need some way to track:
- If a dat was initialized in sparse mode
- What files have been requested for download
This should probably happen in dat-node, since Desktop would have the same issue of sparse downloads ending up with the whole dat.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:4
- Comments:9 (2 by maintainers)
Top Results From Across the Web
SingleFile
SingleFile is an extension that helps you to save a complete page (with CSS, images, fonts, frames, etc.) as a single HTML file....
Read more >SingleFile – Get this Extension for Firefox (en-US)
Download SingleFile for Firefox. Save an entire web page—including images and styling—as a single HTML file. ... Download Firefox and get the extension....
Read more >SingleFile - gildas-lormeau - GitHub
SingleFile is a Web Extension (and a CLI tool) compatible with Chrome, Firefox (Desktop and Mobile), Microsoft Edge, Safari, Vivaldi, Brave, Waterfox, Yandex ......
Read more >SingleFile for Chrome, Firefox, and Edge - MajorGeeks.Com
SingleFile will save a complete page (with all CSS, images, fonts, frames, etc., ... Download SingleFile for Chrome, Firefox, and Edge from Author...
Read more >Download SingleFile for Chrome 1.21.32 - Softpedia
Download SingleFile for Chrome - Archive a complete page into a single HTML file and keep the formatting of the page intact, in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Tools like
dat ls
/dat download
would def make it easier to work with large dat repositories.I have a medium-size dat repository (
dat://dcpos.ch
, ~10GB). Parts of it aren’t loading correctly in Beaker. To narrow down whether this is a Beaker or Dat issue, I tried downloading those files via command-line dat… and found there’s no way short ofdat clone
-ing the whole thing.http:// has
wget
andcurl
, IMO dat:// needs an equivalent.Neither
dat ls
ordat download
should be terribly hard to implement.