Opened 11 years ago

Closed 11 years ago

#3357 closed Enhancement (invalid)

"Set location" should be able to recognize partial torrent data

Reported by: Nemo_bis Owned by:
Priority: Normal Milestone: None Set
Component: Transmission Version: 2.00
Severity: Normal Keywords:
Cc:

Description

"Set location" finds local data only when the torrent has been completed. Currently, if you have to resume a partial download for some reason you can't and most importantly if you want to keep only a file from the torrent (e.g. only the main file and not all the surrounding info files, also to have actual files instead of directories), you can't seed it when you've finished. This still would not like as the "shared files" on other file sharing software, but still an improvement.

Change History (10)

comment:1 follow-up: Changed 11 years ago by livings124

I'm confused by this. Transmission can pick up already existing data. Are you referring to if the name was changed?

comment:2 in reply to: ↑ 1 Changed 11 years ago by Nemo_bis

Replying to livings124:

I'm confused by this. Transmission can pick up already existing data. Are you referring to if the name was changed?

No, this is a different issue. What I meant is: if you select for download only some files of the torrent and for some reason you have to re-add the torrent with the same files, the files you've already downloaded won't be recognized as such (or at least i couldn't). This means also that if you download the entire torrent, delete some useless files and re-add the torrent with only those files you want to keep Transmission won't see that you've already downloaded those particular files, and you won't be allowed to start seeding immediately but you'll have to re-download everything.

comment:3 follow-up: Changed 11 years ago by jordan

I'm not seeing this behavior and think I must be misunderstanding this ticket.

comment:4 in reply to: ↑ 3 Changed 11 years ago by Nemo_bis

Replying to jordan:

I'm not seeing this behavior

What do you mean? You're able to add a torrent, download only some files (say 2 out of 3), move the torrent directory to another directory and set location to this new directory, and Transmission recognizes the files saying that the download is complete? Or (but this may be more complicated) to download just one file and move it to a random directory and so on?

comment:5 Changed 11 years ago by x190

@Nemo_bis: You need to request a "Verify Local Data" if you set a d/l location other than the one in your settings (or Preferences). Also, with multifile torrents the name of the enclosing directory as well as the files must remain unchanged.

comment:6 Changed 11 years ago by x190

To clarify: setLocation does find data (in the sense that it will write to the existing file) but doesn't verify it and therefore is quite happy to re-download. A user must request the verification. Adding or re-adding a torrent will auto-verify data only if it is in the default location. If the user changes the the d/l location for a new torrent via the add window the data will not be auto-verified as setLocation has now become involved. A point could be made that this is not user-friendly or intuitive behavior.

comment:7 follow-up: Changed 11 years ago by Nemo_bis

Thank you x190 for your reply. You're right, I didn't understand that I have to manually tell Transmission to verify local data, but I've tried and it doesn't work for me. I've tried with a normal torrent (an album): I've moved the directory, deleted a file, unchecked it on the torrent properties, set location, verified local data; result, Transmission now thinks that another file is not complete (it says 99 %) and starts to download it again. With another – way bigger – torrent, I've deleted some files from a subdirectory of the torrent: when I re-add the torrent unchecking those files, Transmission says that some files are incomplete (99 %, 11 % and other random percentages) although this is not true, and doesn't recognize any file from the subdirectory. I've also tried to remove files included in that local directory but not in the torrent, but it didn't help.

comment:8 in reply to: ↑ 7 ; follow-up: Changed 11 years ago by x190

Replying to Nemo_bis:

Thank you x190 for your reply. You're right, I didn't understand that I have to manually tell Transmission to verify local data, but I've tried and it doesn't work for me. I've tried with a normal torrent (an album): I've moved the directory, deleted a file, unchecked it on the torrent properties, set location, verified local data; result, Transmission now thinks that another file is not complete (it says 99 %) and starts to download it again. With another – way bigger – torrent, I've deleted some files from a subdirectory of the torrent: when I re-add the torrent unchecking those files, Transmission says that some files are incomplete (99 %, 11 % and other random percentages) although this is not true, and doesn't recognize any file from the subdirectory. I've also tried to remove files included in that local directory but not in the torrent, but it didn't help.

For the files verifying to 99%, this is due to the fact that the remainder of the first or last (overlapping) piece has been deleted by you, and therefore, that piece will fail its checksum and must be re-downloaded. For the other files it is impossible to know exactly what you have done. If you are not already doing so, you should be using v2.20 as verify should work better with this latest version.

[Note to devs: #532 puleeese]

comment:9 in reply to: ↑ 8 Changed 11 years ago by Nemo_bis

Replying to x190:

For the files verifying to 99%, this is due to the fact that the remainder of the first or last (overlapping) piece has been deleted by you, and therefore, that piece will fail its checksum and must be re-downloaded.

I see. So nothing can be done here, it's just a matter of chunk size.

For the other files it is impossible to know exactly what you have done. If you are not already doing so, you should be using v2.20 as verify should work better with this latest version.

I was using the stable version bundled with Ubuntu 10.10 (2.6, IIRC); I've installed 2.21 but nothing changed. Those files seem to be completely ignored. I wonder if this may be related to the fact that I changed PC and I copied those files from the old ext3 HDD to a FAT external HDD and then from the latter to the new ext4 HDD: some filenames were changed (<tt>:</tt> replaced by <tt>_</tt>) but I've changed them back; is it possible that there are other charset issues or other differences between the filenames which I can't see (perhaps Unicode control characters?).

Anyway, this is very annoying... BitTorrent/Transmission? should find a way to get rid of this crappy dependence on filenames, IMHO.

comment:10 Changed 11 years ago by jordan

  • Resolution set to invalid
  • Status changed from new to closed

This seems to have moved out of "bug" territory and into "support."

Closing the ticket as notabug. If more discussion is needed, it might be more productive for that discussion to be in the forums so that other troubleshooters can also weigh in.

Note: See TracTickets for help on using tickets.