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.
Torrent files in 2 directories?
Torrent files in 2 directories?
Simón
Usuario Linux nº 413.257 (http://counter.li.org/)
Usuario Ubuntu nº 11312 (http://ubuntucounter.geekosophical.net/)
Usuario Linux nº 413.257 (http://counter.li.org/)
Usuario Ubuntu nº 11312 (http://ubuntucounter.geekosophical.net/)
Re: Torrent files in 2 directories?
deluge (and all bittorrent clients for that matter) require the .torrent to be able to do hash checks.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.
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.
Re: Torrent files in 2 directories?
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?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.
Simón
Usuario Linux nº 413.257 (http://counter.li.org/)
Usuario Ubuntu nº 11312 (http://ubuntucounter.geekosophical.net/)
Usuario Linux nº 413.257 (http://counter.li.org/)
Usuario Ubuntu nº 11312 (http://ubuntucounter.geekosophical.net/)
Re: Torrent files in 2 directories?
it doesn't.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?
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.
Re: Torrent files in 2 directories?
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.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.
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/)
Usuario Linux nº 413.257 (http://counter.li.org/)
Usuario Ubuntu nº 11312 (http://ubuntucounter.geekosophical.net/)
Re: Torrent files in 2 directories?
what temp folder do you mean?
Re: Torrent files in 2 directories?
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.johnnyg wrote:what temp folder do you mean?
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/)
Usuario Linux nº 413.257 (http://counter.li.org/)
Usuario Ubuntu nº 11312 (http://ubuntucounter.geekosophical.net/)
Re: Torrent files in 2 directories?
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.
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.
Re: Torrent files in 2 directories?
Nooooo....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.

(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/)
Usuario Linux nº 413.257 (http://counter.li.org/)
Usuario Ubuntu nº 11312 (http://ubuntucounter.geekosophical.net/)
Re: Torrent files in 2 directories?
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).simonbcn wrote: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.johnnyg wrote:what temp folder do you mean?
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?
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