DC++ .870 fails to follow symbolic links
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DC++ |
Invalid
|
Undecided
|
Unassigned |
Bug Description
After upgrading to .870 DC++ will not follow Windows symbolic links when moving files from DC++ temp to the final destination.
I have many messages like this:
[09:43] Unable to move <N:\DC++temp\ELP 1975-05-25 d1t06.flac.
The path N:\Emerson Lake & Palmer + Related is a link to a folder on another drive.
I can manually move the files so I know the link is working correctly (from a non-elevated command prompt):
N:\DC++temp>move "ELP 1975-05-25 d1t06.flac" "N:\Emerson Lake & Palmer + Related\elp 1974-05-25 Ahoy Halle, Rotterdam, Netherlands cdr\Disc 1"
1 file(s) moved.
I have had to back off to .868, where this worked fine
description: | updated |
description: | updated |
Since you haven't mentioned what kind of symlink (hard or soft) you use I tried:
Test #1
c:\TEMP>mklink /J C:\Temp\ LinkToFolder G:\Test LinkToFolder <<===>> G:\Test
Junction created for C:\Temp\
In DC++: LinkToFolder\
Unfinished files folder set to E:\DCPP\Unfinished\
Finished files folder set to C:\Temp\
Download of small and 10MiB> files both work (they're moved differently, small files async, large files threaded) and landed in G:\Test (expected result)
Test #2
c:\TEMP>mklink /D C:\Temp\ LinkToFolder G:\Test LinkToFolder <<===>> G:\Test
symbolic link created for C:\Temp\
Same settings in DC++, same result in downloads test.
Test #3
I tried to simulate your directories and downloaded a folder structure and filename same as in your example.
c:\TEMP>mklink /D C:\Temp\ LinkToFolder "G:\Emerson Lake & Palmer + Related" LinkToFolder <<===>> G:\Emerson Lake & Palmer
symbolic link created for C:\Temp\
+ Related
At download folders are created and file landed in the target as expected.
("g:\Emerson Lake & Palmer + Related\elp 1974-05-25 Ahoy Halle, Rotterdam, Netherlands cdr\Disc 1\ELP 1975-05-25 d1t06.flac" file exists)
Test #4
In DC++:
Finished files folder set to C:\Temp\Emerson Lake & Palmer + Related\
c:\TEMP>mklink /D "C:\Temp\Emerson Lake & Palmer + Related" "G:\Emerson Lake & Palmer + Related"
symbolic link created for C:\Temp\Emerson Lake & Palmer + Related <<===>> G:\Emerson Lake & Palmer + Related
At download folders are created and file landed in the target as expected.
If I misunderstood you and should try something differently please let me know.
Otherwise it is something else. Make sure you try to download the very same files to the very same link and structure in both versions.