Joined: 19 Nov 2011
|Posted: Mon Nov 21, 2011 4:26 am Post subject: Long file / path bug
|I had posted this in tech support, but I figure it belongs here so have deleted the original and reposted here.
Version: 5.0 Beta 8
Operating System w/ Service Pack Version: Win 7 Home Premium 64-bit, SP1
Installation Method: Upgrade
Type of Installation: Registered
Number of Servers: 1
List your provider(s)? Giganews
List of antivirus/firewall software installed: Microsoft Security Essentials
Connections per server: Giganews - 25
Server priority: Giganews - 1
I'm experiencing an issue where if an article downloaded by newsleecher has an excessively long filename, it will simply get thrown out by newsleecher.
I'm using a very short named download folder, but when newsleecher creates a directory for each download with the group name, the article name, then the file name itself, and then inside that download folder the archive can be another very long file name, it is not uncommon to hit the 255 character limit in a filename. Under download settings I've unchecked "save to groupname subfolder" but this is the only option I've found that would shorten the name - I've actually had this unchecked all along so it doesn't solve the problem.
Have I missed a setting that allows me to change this? I can't be the only person running into this problem, so I suspect there's a fix that I've missed. Any suggestions?
I should mention as well that when NewsLeecher encounters this problem, it merely disposes of the files. No recycle bin, no error, they simply disappear. The files exist in the "!! newsleecher temporary !!" folder as numbered files but apparently when they try to get moved to their final destination, when it can't happen due to filename length restrictions, NewsLeecher just bails on the whole thing, meaning you have to download the file again if you want to try over. The log files simply report a "file not found" error.
My suggestion is that it would be nice if some quick pre-calculations were done when setting up the downloading, and if the combination of the set download directory, the to-be-created download folder, and the resultant archive file name are greater than 255 characters, the download folder should have its name truncated such that the archives maintain their original filenames.