I was just wondering if there's a way to stop deluge creating every folder in a torrent when nothing is being downloaded into it. Its not really a bug I know, its just really irritating.
And before you comment on it, yes I know deluge has to download corresponding files in order to obtain full chunks but that not what happening here. I have a torrent with 250 directories in it and even if I only download one item from the first folder it still creates them all.
And sorry if this has already been covered, apparently folder and directory are too common to search for
I think you are the first person to mention this issue so I am not surprised it appears in a google search.
There is currently no way to 'turn it off'. Libtorrent creates all the folders when a torrent starts so it would require Deluge to check and delete any empty ones.
Edit:
The actual functionality that is needed is exactly the same as for the partial files, where they are hidden away in a file/folder. Otherwise lt will keep trying to recreate these folders.
A quick way to remove the folders on linux is to use cleanlinks once deluge has finished downloading: