← Back to team overview

linuxdcpp-team team mailing list archive

[Bug 1945213] Re: DC++ .870 fails to follow symbolic links

 

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
Junction created for C:\Temp\LinkToFolder <<===>> G:\Test

In DC++:
Unfinished files folder set to E:\DCPP\Unfinished\
Finished files folder set to C:\Temp\LinkToFolder\

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
symbolic link created for C:\Temp\LinkToFolder <<===>> G:\Test

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"
symbolic link created for C:\Temp\LinkToFolder <<===>> G:\Emerson Lake & Palmer
+ 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.


** Changed in: dcplusplus
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to DC++.
https://bugs.launchpad.net/bugs/1945213

Title:
  DC++ .870 fails to follow symbolic links

Status in DC++:
  Incomplete

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.PUW3JQHMQ2KI2JVXXELJYN7EIH6KCZGUXFM44TY.dctmp> to
  <N:\Emerson Lake & Palmer + Related\elp 1974-05-25 Ahoy Halle,
  Rotterdam, Netherlands cdr\Disc 1\ELP 1975-05-25 d1t06.flac> (The
  system cannot find the path specified.); renamed to <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

To manage notifications about this bug go to:
https://bugs.launchpad.net/dcplusplus/+bug/1945213/+subscriptions



References