File not available from duplicate virtual folder names
Moderator: Moderators
File not available from duplicate virtual folder names
I found something strange, three folders called complete and video from this user (haven't talked to him/her).
Version was 0.4034
When you add a new folder you can't type in a virtual folder names that's already used.
But what if you already have two or more folders of the same name already shared? (before installing 0.4034 or the previous one)
Will they get an 'a' and 'b' after the name? My guess is that it doesn't.
The effects of this is that you can only download from one of the folders of the same name, file not available for the others. I tested this in a resonably certain way.
If this is a valid bug I might post it on bugzilla but I'm not sure. I don't wanna restart dc++ and mess with dcplusplus.xml to test it.
http://hem.bredband.net/b140683/somedude.xml.bz2
Version was 0.4034
When you add a new folder you can't type in a virtual folder names that's already used.
But what if you already have two or more folders of the same name already shared? (before installing 0.4034 or the previous one)
Will they get an 'a' and 'b' after the name? My guess is that it doesn't.
The effects of this is that you can only download from one of the folders of the same name, file not available for the others. I tested this in a resonably certain way.
If this is a valid bug I might post it on bugzilla but I'm not sure. I don't wanna restart dc++ and mess with dcplusplus.xml to test it.
http://hem.bredband.net/b140683/somedude.xml.bz2
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21:46
- Location: .pa.us
Am I supposed to make every user with duplicated folder names to do that?
If we can back on the subject, I messed with my settings file.
Added the folder logs, named it apps in dcplusplus.xml as its virtual name and PRESTO!
Two folders called apps, and I can probably only download from one of them.
My theory is that when upgrading to a version with virtual folders and you have folders with the same name you get this and dc++ doesn't do a simple check for duplicates or even add the letter a, b, and c like it usually does.
EDIT:
Woohoo! fixed now, will probably go in the next version. Thanks to Todd (maybe he's called Todi here)
http://dcplusplus.sourceforge.net/cgi-b ... cgi?id=227
If we can back on the subject, I messed with my settings file.
Code: Select all
<Directory Virtual="apps">C:\arkiv\apps\</Directory>
<Directory Virtual="apps">C:\arkiv\Incoming\logs\</Directory>
Two folders called apps, and I can probably only download from one of them.
My theory is that when upgrading to a version with virtual folders and you have folders with the same name you get this and dc++ doesn't do a simple check for duplicates or even add the letter a, b, and c like it usually does.
EDIT:
Woohoo! fixed now, will probably go in the next version. Thanks to Todd (maybe he's called Todi here)
http://dcplusplus.sourceforge.net/cgi-b ... cgi?id=227
-
- Forum Moderator
- Posts: 587
- Joined: 2003-05-07 02:38
- Location: Sweden, Linkoping
Okey now, sit down take a deep breath because I'm going to tell you somethingLundis wrote:EDIT:
Woohoo! fixed now, will probably go in the next version. Thanks to Todd (maybe he's called Todi here)
http://dcplusplus.sourceforge.net/cgi-b ... cgi?id=227
Todd todd Pederzani is really our own Gargoyle MT!
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21:46
- Location: .pa.us
So duplicated folders will be unshared without notification?
If so: Cool.
This seems a bit different to what dc++ usually does. If there's a bad setting, dc++ does nothing.
Like it's not possible to share the incomplete downloads folder (directly) but if it's already shared nothing will be done.
(and other examples I can't think of right now)
If so: Cool.
This seems a bit different to what dc++ usually does. If there's a bad setting, dc++ does nothing.
Like it's not possible to share the incomplete downloads folder (directly) but if it's already shared nothing will be done.
(and other examples I can't think of right now)
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21:46
- Location: .pa.us