Torrent files in 2 directories?

General support for problems installing or using Deluge
simonbcn
Leecher
Leecher
Posts: 53
Joined: Tue Sep 18, 2007 7:10 pm
Location: Barcelona, Spain
Contact:

Torrent files in 2 directories?

Post by simonbcn »

Hi,
I have defined in Preferences > Downloads Tab, the folder for the torrent files: ~/.config/deluge/torrentfiles
Why when I put a torrent to download two torrent files are created: one in the temporary folder and another in the folder definite in Preferences?
This behavior creates me trash files in the temporary folder that consider unnecessary.
Simón
Usuario Linux nº 413.257 (http://counter.li.org/)
Usuario Ubuntu nº 11312 (http://ubuntucounter.geekosophical.net/)
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: Torrent files in 2 directories?

Post by johnnyg »

simonbcn wrote:Hi,
I have defined in Preferences > Downloads Tab, the folder for the torrent files: ~/.config/deluge/torrentfiles
Why when I put a torrent to download two torrent files are created: one in the temporary folder and another in the folder definite in Preferences?
This behavior creates me trash files in the temporary folder that consider unnecessary.
deluge (and all bittorrent clients for that matter) require the .torrent to be able to do hash checks.
because deluge cannot guarantee that the original .torrent won't get deleted, it copies it to the torrent files folder (the one you specified) and uses that.
when you clear your download deluge will delete its copy of the .torrent (but not the original).
it's up to you to delete the temporary torrent.
if you're downloading the .torrent from the web, normally by choosing open instead of save, the temporary torrent will get deleted when you close the browser.
simonbcn
Leecher
Leecher
Posts: 53
Joined: Tue Sep 18, 2007 7:10 pm
Location: Barcelona, Spain
Contact:

Re: Torrent files in 2 directories?

Post by simonbcn »

johnnyg wrote:deluge (and all bittorrent clients for that matter) require the .torrent to be able to do hash checks.
because deluge cannot guarantee that the original .torrent won't get deleted, it copies it to the torrent files folder (the one you specified) and uses that.
when you clear your download deluge will delete its copy of the .torrent (but not the original).
it's up to you to delete the temporary torrent.
if you're downloading the .torrent from the web, normally by choosing open instead of save, the temporary torrent will get deleted when you close the browser.
When I say temporary folder, I refer to the temporary folder of deluge (not that of the Linux). Why Deluge needs two copies of the same torrent file?
Simón
Usuario Linux nº 413.257 (http://counter.li.org/)
Usuario Ubuntu nº 11312 (http://ubuntucounter.geekosophical.net/)
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: Torrent files in 2 directories?

Post by johnnyg »

simonbcn wrote:When I say temporary folder, I refer to the temporary folder of deluge (not that of the Linux). Why Deluge needs two copies of the same torrent file?
it doesn't.
there should be only one copy of the .torrent.
however there will also be a .torrent.fastresume file which allows deluge to continue downloading from where you left off without having to recheck the whole file.
simonbcn
Leecher
Leecher
Posts: 53
Joined: Tue Sep 18, 2007 7:10 pm
Location: Barcelona, Spain
Contact:

Re: Torrent files in 2 directories?

Post by simonbcn »

johnnyg wrote:there should be only one copy of the .torrent.
however there will also be a .torrent.fastresume file which allows deluge to continue downloading from where you left off without having to recheck the whole file.
Ok, but the .torrent.fastresume files are in: ~/.config/deluge/torrentfiles/, however the .torrent files are in that folder and in the temp folder of Deluge.
When I delete the torrent from Deluge, the .torrent file is deleted from ~/.config/deluge/torrentfiles/, but it remains in the temp folder of Deluge.
Simón
Usuario Linux nº 413.257 (http://counter.li.org/)
Usuario Ubuntu nº 11312 (http://ubuntucounter.geekosophical.net/)
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: Torrent files in 2 directories?

Post by johnnyg »

what temp folder do you mean?
simonbcn
Leecher
Leecher
Posts: 53
Joined: Tue Sep 18, 2007 7:10 pm
Location: Barcelona, Spain
Contact:

Re: Torrent files in 2 directories?

Post by simonbcn »

johnnyg wrote:what temp folder do you mean?
Sorry, I am explaining very bad. I call temporary folder to the folder by default that I have set in the Deluge to download the torrents.
In other words, Deluge 0.5.9.1 is keeping two copies of the. torrent file:
1) In the default download folder of the torrent, in my case: ~/downloads
2) In the defined folder to store the .torrent files: ~/.config/deluge/torrentfiles

Now I have explained it better? ;)
Simón
Usuario Linux nº 413.257 (http://counter.li.org/)
Usuario Ubuntu nº 11312 (http://ubuntucounter.geekosophical.net/)
loki
Moderator
Moderator
Posts: 787
Joined: Tue Dec 04, 2007 3:27 pm
Location: MI, USA

Re: Torrent files in 2 directories?

Post by loki »

So, what you mean is, you download torrent files to your 'temp' folder and open them in Deluge?
Then you have to delete the torrent file in the 'temp' directory manually, since it is loaded in Deluge and it no longer needs that file anymore.
And Deluge will delete the torrent file in the 'torrentfiles' folder when you remove the torrent from the list and have it delete it, it won't delete from both locations.
simonbcn
Leecher
Leecher
Posts: 53
Joined: Tue Sep 18, 2007 7:10 pm
Location: Barcelona, Spain
Contact:

Re: Torrent files in 2 directories?

Post by simonbcn »

loki wrote:So, what you mean is, you download torrent files to your 'temp' folder and open them in Deluge?
Then you have to delete the torrent file in the 'temp' directory manually, since it is loaded in Deluge and it no longer needs that file anymore.
And Deluge will delete the torrent file in the 'torrentfiles' folder when you remove the torrent from the list and have it delete it.
Nooooo.... :roll: One more try...
(I have installed the Deluge 0.5.9.1 in a server)

A practical example:
I add a torrent: "The Shining", in the webUI, from local PC.
In the server, Deluge creates two .torrent files:
1) ~/downloads/deluge_0.303677910194_The Shining.torrent
2) ~/.config/deluge/torrentfiles/deluge_0.303677910194_The Shining.torrent
Why those two .torrent files are created in two different folders? They are necessary?
Now the problem is understood?
Simón
Usuario Linux nº 413.257 (http://counter.li.org/)
Usuario Ubuntu nº 11312 (http://ubuntucounter.geekosophical.net/)
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: Torrent files in 2 directories?

Post by johnnyg »

simonbcn wrote:
johnnyg wrote:what temp folder do you mean?
Sorry, I am explaining very bad. I call temporary folder to the folder by default that I have set in the Deluge to download the torrents.
In other words, Deluge 0.5.9.1 is keeping two copies of the. torrent file:
1) In the default download folder of the torrent, in my case: ~/downloads
2) In the defined folder to store the .torrent files: ~/.config/deluge/torrentfiles

Now I have explained it better? ;)
now I understand: deluge is downloading the .torrent to your default download folder (as well as keeping a copy of it in its torrent folder).
yeah that's definitely a bug, does this happen for all torrents or just particular ones?
if it seems to be happening for all torrents, go file a bug report: http://dev.deluge-torrent.org/newticket
Post Reply