Deluge does not detect data in a renamed folder

General support for problems installing or using Deluge
Post Reply
Zethran
New User
New User
Posts: 6
Joined: Sat Sep 19, 2009 10:54 am

Deluge does not detect data in a renamed folder

Post by Zethran »

Hello,
I hope not to ask a question allready answered but I did not found a solution in this board.

My problem:

I turned over from Windows XP to Kubuntu 9.04. So I have to switch from µtorrent to Deluge. Version is 1.1.6 I started to open my old torrents to seed them. When I select a folder with the files which has another name than the original one from the torrent Deluge dont recognize the data. It will creat a new folder inside and start to download the torrent again.

Example:
  • I downloaded the Torrent X. It created the directory "Torrent-X"
  • I changed the name of the directory into "Torrent-X-2009
  • I try to open the torrent in Deluge to seed the files inside the folder "Torrent-X-2009"
How can I seed the files from a folder which I renamed? Why does Deluge try to force me to keep the files in the original folder?

Thank you very much for your help!
Lefty
Member
Member
Posts: 22
Joined: Sun Mar 08, 2009 7:12 am

Re: Deluge does not detect data in a renamed folder

Post by Lefty »

I'm no guru but i use dual boot so i have a bit of experience with this sort of issue but if i'm not mistaken you CAN NOT change the name of the folder as the .Torrent file already has the name and they way it's going store it.


Example:
The site i use all .Torrent files already predispose that they are going to create a Folder called "Torrent-X" and inside that folder it's going to put all the files, on the other hand some files do not create a folder and are just stored to where i choose to save them.

In other words no matter where you choose to store the files some will create a folder and some will not but they need to keep the original names if not:

How is the .Torrent file going to know where it is?

And how are you going to seed something called different from the rest of the swarm?

ok decided to google up something for you maybe it will better help you understand a bit of how things work in torrents.




Question: How exactly does BitTorrent Sharing work?

Answer: Torrent sharing is about "swarming and tracking", where users download many small bits from many different sources at once. Because this format compensates for bottleneck points, it is actually faster than downloading a large file from a single source.

* “Swarming” is about splitting large files into hundreds of smaller “bits”, and then sharing those bits across a “swarm” of dozens of linked users.
* “Tracking” is when specific servers help swarm users find each other.
* Swarm members use special Torrent client software to upload, download, and reconstruct the many file bits into complete usable files.
* Special .torrent text files act as pointers during this whole process, helping users find other users to swarm with, and enforcing quality control on all shared files.



So you see i put on bold letters of what you need to read that last one should say it all, if you change the name they can't track you or find the file.

Again i'm not sure as i never used µtorrent so i don't know if you can do that there and it keeps some kind of record of the changes as Vuze has it, but that's done internally by the program and i'm sure that the Deluge developers want to keep the program nice, smooth and lite not bloating it whit a hole bunch of features and concentrate on making it a great, fast, lite and solid torrent client.

Really hope i was of some help to you man. if all else fails just change the names back to the originals i know maybe it's a lot of work but hey life is not easy ;)
Good luck man.
Only two things are infinite, the universe and human stupidity, and I'm not sure about the former. Albert Einstein.
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: Deluge does not detect data in a renamed folder

Post by johnnyg »

Zethran wrote:Hello,
I hope not to ask a question allready answered but I did not found a solution in this board.

My problem:

I turned over from Windows XP to Kubuntu 9.04. So I have to switch from µtorrent to Deluge. Version is 1.1.6 I started to open my old torrents to seed them. When I select a folder with the files which has another name than the original one from the torrent Deluge dont recognize the data. It will creat a new folder inside and start to download the torrent again.

Example:
  • I downloaded the Torrent X. It created the directory "Torrent-X"
  • I changed the name of the directory into "Torrent-X-2009
  • I try to open the torrent in Deluge to seed the files inside the folder "Torrent-X-2009"
How can I seed the files from a folder which I renamed? Why does Deluge try to force me to keep the files in the original folder?

Thank you very much for your help!
first of all upgrade to 1.1.9 as it fixes a security vulnerability in libtorrent (as well as bugs in deluge).

rename the folder / files in the add dialog before actually adding it to deluge and when specifying the download location specify the folder that contains the renamed folder not the renamed folder itself.
in your example that would be the parent directory of "Torrent-X-2009".
deluge should automatically detect the torrent and check how much you have of it already.
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: Deluge does not detect data in a renamed folder

Post by johnnyg »

Lefty wrote:I'm no guru but i use dual boot so i have a bit of experience with this sort of issue but if i'm not mistaken you CAN NOT change the name of the folder as the .Torrent file already has the name and they way it's going store it.


Example:
The site i use all .Torrent files already predispose that they are going to create a Folder called "Torrent-X" and inside that folder it's going to put all the files, on the other hand some files do not create a folder and are just stored to where i choose to save them.

In other words no matter where you choose to store the files some will create a folder and some will not but they need to keep the original names if not:

How is the .Torrent file going to know where it is?

And how are you going to seed something called different from the rest of the swarm?

ok decided to google up something for you maybe it will better help you understand a bit of how things work in torrents.




Question: How exactly does BitTorrent Sharing work?

Answer: Torrent sharing is about "swarming and tracking", where users download many small bits from many different sources at once. Because this format compensates for bottleneck points, it is actually faster than downloading a large file from a single source.

* “Swarming” is about splitting large files into hundreds of smaller “bits”, and then sharing those bits across a “swarm” of dozens of linked users.
* “Tracking” is when specific servers help swarm users find each other.
* Swarm members use special Torrent client software to upload, download, and reconstruct the many file bits into complete usable files.
* Special .torrent text files act as pointers during this whole process, helping users find other users to swarm with, and enforcing quality control on all shared files.



So you see i put on bold letters of what you need to read that last one should say it all, if you change the name they can't track you or find the file.

Again i'm not sure as i never used µtorrent so i don't know if you can do that there and it keeps some kind of record of the changes as Vuze has it, but that's done internally by the program and i'm sure that the Deluge developers want to keep the program nice, smooth and lite not bloating it whit a hole bunch of features and concentrate on making it a great, fast, lite and solid torrent client.

Really hope i was of some help to you man. if all else fails just change the names back to the originals i know maybe it's a lot of work but hey life is not easy ;)
Good luck man.
Bittorrent works with pieces (small sections of data) and .torrent files contain hashes for each of those pieces.
It doesn't care what name you give to a collection of pieces.

The way renaming works is by keeping a mapping of the renamed file names to the original file names.
If you're keen you can look through the libtorrent source code to see how it does this exactly :D
Zethran
New User
New User
Posts: 6
Joined: Sat Sep 19, 2009 10:54 am

Re: Deluge does not detect data in a renamed folder

Post by Zethran »

Hey johnnyg,
thank you for your answer. But I dont know how to rename a file or directory in the "add-dialogue". Where is the "rename" button? Right-click does not work.

Thank you
plisk
Member
Member
Posts: 42
Joined: Sun Jul 15, 2007 7:52 am

Re: Deluge does not detect data in a renamed folder

Post by plisk »

Zethran wrote:Hey johnnyg,
thank you for your answer. But I dont know how to rename a file or directory in the "add-dialogue". Where is the "rename" button? Right-click does not work.

Thank you
You can just left-click on a filename - it'll turn to editable input box.. But thats way of renaming is buggy for a moment, at least for me here. Just tried it yesterday. It is renaming okay, but after adding to Deluge to list - something weird happens with filenames etc on filesystem..
Post Reply