The target of a path
November 25, 2006 Leave a comment
The FAQ on “could not open target file: …” explain why one would get the message. However, you may experience this message even if your paths are set up correctly. You can actually experience this with Windows Explorer, although in a (visually) different manner.
When DC++ download a file, effectively creating the file on your system, DC++ ask Windows “hey, I want you to create the file named ‘this’ and create it ‘here’, and I’ll stream the information to the file.” The problem is that the way DC++ ask Windows to create the file.
Windows’ basic “go and create the file“-function restricts the amount of characters a path can consist of. Specifically, 259 characters (“c:/” is included in that). Unfortunately, this is the function DC++ use. This means that you can only create folders and files of a specified length. If you attempt to download a file that will break the 259 character limit, DC++ will tell you so. Well, specifically, Windows does. DC++ just shows it to you in a presentable manner.
So, what can be done? You can attempt to hack Queue.xml by using “\\?\C:\” instead of plain “C:\”, but I’m not sure how well it will work.