Jump to content
Comet Forums

Small tool to verify downloaded files against a torrent file or magnet link.


Recommended Posts

Hi,

I would appreciate if you could provide a small command-line tool that I can use to verify my downloaded files are ok.

I want to burn my downloaded files to DVD drives.  When I open the disks later in future, I can use this tool to check the files against the torrent files, which I will also put on the DVD disks.

Many thanks in advance.

Link to comment
Share on other sites

Sorry, I should have written my request more clearly.  I know about the hash-check functionality in Bitcomet.  I was hoping for a smaller tool, which I could also put on the DVD disk together with the downloaded and torrent files.  I could put Bitcomet on the disk.  But it's not convenient to use it to verify the files on the disk on another computer at a future time.  The tool that I have in mind would allow me to run

D:\tool.exe  D:\foo.torrent -download-path D:\

if the DVD disk in the D drive.

I imagine it would be easy to develop the tool since it could just use the existing hash-check code and torrent decoding code from Bitcomet.

Link to comment
Share on other sites

For torrents which I have deselected some files to be downloaded, I will also put the <torrent_name>.piece_part.bc! file on the DVD disk as well.  I suspect this file contains the tail-end and/or head-end of the unselected files to "aid" the hash-checking of the first piece and/or last piece of the downloaded files.  If I know the format of this .piece_part.bc! file, I can whip up a small python script as the hash-check tool that I am asking for.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...