question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

single file download

See original GitHub issue

Having single file download would be cool. A couple options:

  1. dat download <key>/file.txt, dat <key>/file.txt - download file with in memory metadata
  2. dat 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:

  1. If a dat was initialized in sparse mode
  2. 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:open
  • Created 6 years ago
  • Reactions:4
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
dcposchcommented, Sep 9, 2018

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 of dat clone-ing the whole thing.

http:// has wget and curl, IMO dat:// needs an equivalent.

1reaction
pfrazeecommented, Sep 9, 2018

Neither dat ls or dat download should be terribly hard to implement.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found