Recommend this page to a friend! |
Download .zip |
Info | View files (9) | Download .zip | Reputation | Support forum (1) | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2009-01-12 (7 years ago) | Not yet rated by the users | Total: 884 | All time: 3,821 This week: 1,109 |
Version | License | PHP version | Categories | |||
torrenthash 1.0 | Public Domain | 5.0 | PHP 5, Files and Folders, P2P |
Description | Author | ||||||||||||||||
This package can be used to compare downloaded data with torrent data. Innovation Award
|
|
This package can be used both on Linux/Windows (or any other platform which php supports) in order to compare the hashes from a torrent metadata file with an actual torrent data directory and produce a report of which files /pieces should be re-downloaded and how much data that is (in mb). if for example you have downloaded a torrent's file data (not the .torrent file but the actual data) and the torrent file is for some reason updated or changed you can use this utility to compare the new .torrent file with the data you have already downloaded and see what needs to be downloaded and what size that is. The script takes two required arguments and one optional: compare_hash.php <torrent_file> <path> [output_file] [required] torrent_file: The torrent file from which to read hashes [required] path: The path of the torrent data [optional] output_file: If specified the output will be saved to that file instead of console (stdout). Used packages: BDecode from Andrew Chaus (http://www.phpclasses.org/browse/package/3473.html) File_Bittorrent2 (some methods only) from Markus Tacker, Justin Jones (http://pear.php.net/package/File_Bittorrent2) If you need more information or have any questions feel free to mail me: charpour at gmail dot com (Replace at with '@' and dot with '.') Charalampos Pournaris |
Files |
File | Role | Description |
---|---|---|
class.bdecode.php | Class | Bdecode class |
class.bencode.php | Class | BEncode class |
class.hashcheck.php | Class | Hash Check Class |
class.torrentfile.php | Class | Describes a Torrent File |
class.torrentinfo.php | Class | Torrent Metadata Information |
class.torrentpiece.php | Class | Torrent Piece Class |
compare_hash.php | Appl. | Main script file |
README.txt | Doc. | Documentation |
utils.php | Aux. | Utility functions |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.