AssumeCompleteReverify

From Shareaza Wiki
Revision as of 19:00, 4 February 2014 by Han (talk | contribs) (→‎Assume file is 100% Complete and Reverify)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  Languages:

[[::AssumeCompleteReverify|English]] • [[::AssumeCompleteReverify/de|Deutsch]] • [[::AssumeCompleteReverify/es|Español]] • [[::AssumeCompleteReverify/fr|Français]] • [[::AssumeCompleteReverify/he|עברית]] • [[::AssumeCompleteReverify/it|Italiano]] • [[::AssumeCompleteReverify/nl|Nederlands]] • [[::AssumeCompleteReverify/pl|Polski]] • [[::AssumeCompleteReverify/pt|Português]] • [[::AssumeCompleteReverify/ru|Русский]] • [[::AssumeCompleteReverify/zh-hant|‪中文(繁體)]]

e
  Updated:

This page has been updated on 2010-02-19 for the release of Shareaza v2.5.2.0.

e


Preliminary Note:
You must be in Power Mode (View > Power Mode) to access the features and options described on this page!

Assume file is 100% Complete and Reverify

This is a small but very useful feature in Shareaza that allows you to accomplish many things with its hashing system. You can:

  • Recover downloads that have been lost for any reason.
  • Move downloads from several other P2P applications into Shareaza
  • Fix downloads that have been corrupted in, for instance, Kazaa.
  • Finish downloads that were started in some download managers.


NOTE: Since version 2.3.0.0, Shareaza also has an advanced edit function to merge an ongoing download with a file on the local file system. You can use this newer feature as an alternative to the procedure described below, and you may prefer to use this newer feature since it is a little easier. To use the merge option, from the Download Properties, choose Merge with local file and verify in the Actions tab, navigate to the file you wish to merge with your ongoing download. Shareaza will merge parts it can verify from the file on your file system with the incomplete download.


The process to recover files is not too difficult, but you will need a little familiarity with computers to get it to work. It's a very useful trick to learn, however, especially if you do a lot of downloading. Make sure to back up the files you are trying to recover, in case you make a mistake.

  1. Make sure Shareaza is not running.
  2. Now, you will need to get the file you want to recover. If it's a lost Shareaza download, it will be in C:\Program Files\Shareaza\Incomplete or your equivalent Incompletes directory (in case you set it to a different one; note that this is the default for multi user installations of Shareaza). If it's a partial download from another program, it will be in the download or incomplete directory for that program. Find the file you want to recover or repair, move it to another folder, such as the desktop. In case you are recovering a lost Shareaza download, you may see a small file with the same name as the file you wish to recover, except with a .sd file extension. You can delete this file.
  3. You may wish to make a backup of the file you wish to recover (in case you didn't do this before the beginning, which is recommended), because the method to be used may destroy data. If you have a backup, you could then try the process again.
  4. Start up Shareaza, and start a download of the same exact file. It must be exactly the same file, because any non-matching bits will be thrown away. Shareaza downloads have the SHA1 hash in the name, so it's easy to check the files match. With other downloads, you will have to be a little more careful to make sure you get the same file. (See the paragraph on Magnet links below.)
  5. Allow the download to start and let it download a little bit. Then, pause the download. This is a crucial step, as to reverify the already downloaded parts, Shareaza needs to obtain TTH or eD2k hashset information for this download first.
  6. Go to C:\Program Files\Shareaza\Incomplete (or your equivalent Incompletes folder).
  7. Copy the file name of the new download.
  8. Delete the new download (.partial file). (Do not delete the new SD file!)
  9. Rename the download you want to recover to the name you copied, and move it into your Incompletes folder.
  10. Go back to Shareaza and unpause the download.
  11. Right click on the download, Go to Properties, then to the Actions tab.
  12. Click on Assume the file 100% Complete and Reverify.
  13. Assuming everything is okay, A small green TTH bar should move across the download. The parts that are missing (or corrupt) will show a red bar, and will be re-downloaded.

That's all there is to it! Like this, Shareaza will be able to recover any file, making 100% sure it's valid and in perfect condition. Any bad sections will be re-downloaded, so you are certain the file is good/free of data corruption at the end.

Common Problems

  • If an box pops up saying you do not have any hash information when you click 'assume complete and reverify', then you need to let the download run a little longer while Shareaza gets the TTH or eD2k hash information. It should only take a few seconds in most cases. Just make sure the download has started, and it should work.
  • If the entire verify bar fills in in red, you probably selected the wrong file to download in step 4. The files can't just be about the same thing, or similar. It has to be exactly the same file. There may be several versions of one file out there - make sure you select the correct one. (See the note about Magnet links below.)

Using Magnet links or torrent files to make sure its the right file

In order to make sure it's exactly the same file you're downloading, there's an easy trick you can do. In order to do it, either one of the hashes of the file has be be known, or you need the original .torrent file (respectively its contained btih (BitTorrent Info Hash)). (So this is the case for every lost Shareaza download, as their files do contain at least one hash sum inside the partial file name.)

In case you've got the .torrnet file, just click on it to make the download restart. That's the most easy situation. Note that Shareaza stores the .torrent files of all torrent downloads in a special folder that can be found in the Shareaza Settings, so it's relatively easy in most cases to re-obtain the .torrent file for the download in question.

It gets a bit more tricky in case you haven't got a .torrent file for your download. Here is where Magnet links come into game. Magnet links are universal links to a specific file in any P2P network. For a file in your library, they can be created using the copy URI command out of the file context menu. They can be included in a website, or given to a friend if you wish to make sure he downloads exactly the file as you do. In order to use a given magnet link, just click on it, in case it is included in a website, or just copy the link text either into the Download File or Torrent dialogue box or in a new search window. A dialogue window appears asking whether to search for this file, or whether to start downloading it. In our case, you will need to select to begin to download the file.

Now you know about magnet links and how to use them, but the most important thing - where to get them - you still don't know. Well, in fact it's very easy: As you already know the hash, you can copy it into this raw Magnet link:

 magnet:?xt=urn:[1]:[2]
  • [1]: Here comes the hash type. This can be for example sha1, ed2k hashset, tree:tiger (In case you know the Tiger Tree root hash of the file) or btih (BitTorrent Info Hash - for torrents).
  • [2]: Here comes the hash. This hash is contained in the file name of the incomplete file if you are recovering a Shareaza download. Example:
 ed2k_03191ace0a50af37a066f5433a1c4d32.sd

In this case, the hash type is ed2k and the hash is 03191ace0a50af37a066f5433a1c4d32. So our Magnet link to recover this file would be:

 magnet:?xt=urn:ed2k:03191ace0a50af37a066f5433a1c4d32

By copying this text string into the Download File or Torrent dialogue box or into a new search window, we can now start a download of which we are sure it is exactly the same as the corrupted/lost/to be imported download.