Blanking torrent root folder adds extra slash

Specific support for Deluge on Microsoft Windows OS
Post Reply
OOZ662
New User
New User
Posts: 2
Joined: Tue Jan 06, 2015 7:50 am

Blanking torrent root folder adds extra slash

Post by OOZ662 »

Running 1.3.11 on Windows 7 with the "classic" UI. If I rename the root folder to "/" it seems to cause an error by adding another "\" into the filename. In this case I am attempting to migrate from uTorrent to Deluge and thus already have the data on my hard drive, so the steps below probably won't fit a "normal use case."

Say I have a torrent whose structure looks like this:
Derp Project/
-Episode 1.avi

The file already exists at location: C:\Videos\Episode 1.avi
Thus, I don't want Deluge to pay attention to the "Derp Project" folder. As far as I understand, the procedure should be to tell Deluge to download the torrent to "C:\Videos\" and rename the root folder of the torrent to "/" and force verification. In doing so, Deluge will give this error:

The filename, directory name, or volume label syntax is incorrect: C:\Videos\/Episode 1.avi

Note the double slashes before the filename.

EDIT: This also occurs when simply deleting the name of the root folder, where Deluge will automatically replace it with "/". The issue may be that Deluge is automatically adding a "\" to the end of the folder name when entering a path in the "Move Storage" dialog.
daveyman123
New User
New User
Posts: 6
Joined: Wed Jan 07, 2015 10:25 pm

Re: Blanking torrent root folder adds extra slash

Post by daveyman123 »

I think your problem may relate to mine. I am having trouble downloading to the /mnt folder in my raspberry pi. I am not sure if this has something to do with the path being changed or what.
Cassock
New User
New User
Posts: 8
Joined: Tue Feb 03, 2015 1:22 am

Re: Blanking torrent root folder adds extra slash

Post by Cassock »

I have this exact problem. Changing from uTorrent to Deluge 1.3.11 on Windows 7 and have a bunch of files to recheck, but after renaming the parent directory, I get:

Code: Select all

The filename, directory name, or volume label syntax is incorrect: F:\Movies\/Some Movie Title (1993).mkv
jpts5
New User
New User
Posts: 2
Joined: Mon May 18, 2015 3:18 pm

Re: Blanking torrent root folder adds extra slash

Post by jpts5 »

I can confirm this is a problem for me also:

Code: Select all

The filename, directory name or volume label syntax is incorrect: C:\Downloads\test\/filename.flac
(Windows 8.1, deluge classic mode: 1.3.11, libtorrent: 0.16.18.0)
Shryp
Moderator
Moderator
Posts: 521
Joined: Mon Apr 20, 2015 10:20 pm

Re: Blanking torrent root folder adds extra slash

Post by Shryp »

Hmm, I switched from uTorrent to Deluge 1.3.11 on Windows 7 and didn't run into issues. I have my default save path set to F:\ and most of the stuff I transferred into Deluge I set the save path to H:\Folder\file.mkv and forced a recheck and it found the data just fine.
Cassock
New User
New User
Posts: 8
Joined: Tue Feb 03, 2015 1:22 am

Re: Blanking torrent root folder adds extra slash

Post by Cassock »

Upgraded to Windows 10 and reinstalled Deluge this weekend. Happy to report that this is no longer an issue for me at least. Blanking or slashing the containing folder moves the files one level up, as expected. Hope that helps someone. Thanks!
Post Reply