Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upResumable downloads / seed existing downloads #320
Comments
This comment has been minimized.
This comment has been minimized.
|
Yeah, this makes sense to me. I would accept a PR for this. :) Busy with other issues right now, but I agree this is important. |
This comment has been minimized.
This comment has been minimized.
|
Trying to figure out how to do this, but having a pretty tough time getting started. @feross, could you point me in the right direction? |
This comment has been minimized.
This comment has been minimized.
|
@devtristan Have you taken a look at |
This comment has been minimized.
This comment has been minimized.
|
@feross Yeah, I am right now. I saw that a torrent is seeded by loading all of the data into torrent.storage and then... (???) Maybe I'm wrong about a basic assumption. After |
This comment has been minimized.
This comment has been minimized.
|
+1 for this feature! |
This comment has been minimized.
This comment has been minimized.
|
+2 for this, I desperately need pause functionality. I'm currently working on just the UI part of my new client, but will probably start the actual data transfer stuff fairly soon. Any takers? Or should I give it a go? |
This comment has been minimized.
This comment has been minimized.
|
You should give it a go! |
This comment has been minimized.
This comment has been minimized.
|
@feross Gonna give it a go tonight and see where I get to :) here's hoping! |
This comment has been minimized.
This comment has been minimized.
|
@MiracleBlue How'd it go? |
This comment has been minimized.
This comment has been minimized.
|
I struggled with trying to figure out what it takes to actually resume a Next weekend I will continue! On Sat, Aug 29, 2015 at 3:26 AM, Feross Aboukhadijeh <
|
This comment has been minimized.
This comment has been minimized.
|
I haven't forgotten about this. Just finding it hard to find the time. Unfortunately I'm not terribly knowledgable with the Torrent spec, so this is certainly a tricky thing for me :) I'm still working away slowly on my little torrent client which is gonna need this functionality. |
This comment has been minimized.
This comment has been minimized.
|
+1 to seed existing downloads! |
This comment has been minimized.
This comment has been minimized.
|
+1 |
This comment has been minimized.
This comment has been minimized.
|
I just made a PR that fixes the resumable download portion of this issue. #515 |
This comment has been minimized.
This comment has been minimized.
|
Hello @feross any news about this feature? How would you suggest to do it, I may try my chance and open a PR. |
This comment has been minimized.
This comment has been minimized.
|
Is this possible in a web browser? Can file pieces persist across sessions and still be accessible? Wouldn't there be file size limitations? |
This comment has been minimized.
This comment has been minimized.
|
I found this which could be useful: http://stackoverflow.com/questions/21015771/what-causes-the-chrome-wants-to-permanently-store-large-data-message |
This comment has been minimized.
This comment has been minimized.
|
I already did this. Look at my fork for inspiration |
This comment has been minimized.
This comment has been minimized.
|
Does this not work now? If I run with |
This comment has been minimized.
This comment has been minimized.
|
I'm pretty sure this issue can be closed. It's possible to resume a torrent by calling On the command line, you can do the same with |
This comment has been minimized.
This comment has been minimized.
|
@feross is webtorrent start seeding as soon as it gets the first piece of data? |
This comment has been minimized.
This comment has been minimized.
|
@JacopoDaeli Yes. |
This comment has been minimized.
This comment has been minimized.
|
How can this be done in the browser? |
This comment has been minimized.
This comment has been minimized.
|
@RationalCoding Sorry for the delayed response. There's not a simple API to get this working in the browser yet, but you can call Alternatively, you can use the documented Line 1605 in 225b615 |
It should be possible to start seeding as soon as a torrent is "downloaded" if the contents are found in the output directory. This is how Transmission works on the CLI. The functionality would be especially useful for webtorrent-hybrid.