austgl / transdroid

Automatically exported from code.google.com/p/transdroid
GNU General Public License v3.0
0 stars 0 forks source link

Defina a standing download to be a continuous 2 Step file download/update of a single file #320

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I would like to be able to configure a standing download in TransDroid to 
perform a differential update of a locally pointed out file (A) instead of 
downloading a complete file/update (B).

If the client finds one or more torrents in a catalog (URL), it should assume 
they all refer to different versions of (A), find out which one is required to 
update (A) to latest version and download that update. For instance using a 
version tag in the torrent-files.

The client should store difference between the selected torrented update (B) 
and the existing file (A) to separate torrent-diff-file. The stored diff-files 
should be given a name that clearly indicates the source and target versions 
e.g. if the torrent co-located with (A) has version "1.2.1" and the torrent of 
(B) has version "2.1.3", the update filename could be "1.2.1_TO_2.1.3.BTD", 
where .BTD stand for BitTorrentDiff (or something like it).

The client then applies the diff to (A) and updates the co-located torrent or 
its version-tag accordingly.

I would like the user to be able to configure the download with
1.) what file (A) is being updated (local URL).
2.) in what catalog (URL) the client should look for a torrent for the update 
(B) and when (for instance upon client being launched or every hour when active 
or ...).
3.) in what catalog (local URL) the diff-files should be stored.
4.) how many files or how many MB of content (maximum) that the client will 
leave existing in that catalog after successful application of an update 
(removing the oldest diffs if need be).
5.) If downloads will start automatically or not whenever an update is found or 
upon manual triggering only.
6.) If update should require user triggering or be automatically performed upon 
clompletion of download.

I should be able to reapply a diff to a (A) by manually selecting it in the 
client and re-trigger an update.

I should be able to force download of a complete update of (A) by resetting the 
version-tag in the torrent colocated with (A) or by simply deleting (A). A 
option to trigger this should be available in the menu of this standing 
download. ('Force complete lastest download') 

Hope this explanation was clear enough.
The use is ofc to automate updates of system files via a tracker and make 
serviceing such files via TransDroid easy as pancakes :P

Original issue reported on code.google.com by vincent....@gmail.com on 6 May 2011 at 2:59

GoogleCodeExporter commented 9 years ago
I'm not sure what you want to achieve here. You talk about downloading files to 
your phone, but Transdroid does nono such thing. It only controls a remote 
running torrent client. 

Original comment by erickok@gmail.com on 7 May 2011 at 9:19

GoogleCodeExporter commented 9 years ago
Sorry for the misunderstanding.

Original comment by vincent....@gmail.com on 9 May 2011 at 6:22

GoogleCodeExporter commented 9 years ago

Original comment by erickok@gmail.com on 9 May 2011 at 6:44