Issue with extracting ZIP file
-
How long are the paths that fail (ie. how many characters) ?
-
Hi,
too long paths which?
Which were not extracted or which were not added?
Basically they were about 260 characters and as I know this is maximum to ZIP.here is sample file 1111111111.zip,
if you see there are three files: 160.txt, 170.txt and 11111111111111111111111111111.txt
if you test this file - no errors, but if you try to extract file at least at C:\1 as extract to 1111111111 no files at all will be extracted and no error message will be displayed. I don’t see reasons why files 160.txt and 170.txt can’t be extracted and for 11111111111111111111111111111.txt create log which will show that this file is not extracted.Alexander
-
I think 255 is Windows limitation actually, which is where the problem might be.
What happens if you go to the PowerArchiver> Options> Config.> Misc.> Speed>
and check option called “Use current folder as temp”?We will check it out for 9.2 and see what we can do about it to give you an option to keep these files. I have to test it before giving you solution but you might want to try that current folder as temp option since it might let you keep the files.
thanks,
-
The Windows SDK docs list it as being 255 or 256 (can’t remember off-hand), but from experience I know that most Windows file functions actually only allow a maximum of approx 230-235 chars. So much for the definitive documentation eh ??? Although to be fair it’s the Windows code itself that is at fault rather than the documentation.
-
Hi,
If i use PowerArchiver> Options> Config.> Misc.> Speed> and check option called “Use current folder as temp”, then close to the end the PA writes that file xxxxxx.xxx is in use and breakes decompressing. At the same time WinRar (as i wrote) didn’t produce this error with this archive. What can be an issue?Alexander
-
What file was in use? Was it opened?
-
Hi,
this file is in archive and of course it wasn’t open.
As i said above i have compressed “Documents and Settings” folder (size is about 900 Mb in archive and about 27000 files). There is no any opened files, or something like that - only standard applications which run in background on Windows 2003. I use PowerArchiver> Options> Config.> Misc.> Speed> and checked option called “Use current folder as temp”. When I start extract this archive at about 97% the PA writes that file xxxxxx.xxx is in use, and cancel decompressing, that is VERY bad, as this file in in folder which contains all necessary files but as there is an error in extraction process none of the files are copied. At the same time WinRAR doesn’t produce this type of error. If interesting, on Saturday I can post screenshot of message displayed and screenshot which shows that the file is in archive.Alexander
-
I think I have found something probably related to this, when I was testing something else. Try extracting an filename with long, long path in that archive and see what happens. Does it report error with that file or some other?
-
Hi,
yes, the issue with file in use is with file with long path. Will be any solution regarding how to extract such archives? May be at least add option to extract archive in any case (not to break decompressing) and report in log file what files were not extracted?Alexander
-
We will check it out a bit futher - there is an bug there that does not allow PA to extract/open files that are smaller than windows limitation of 255 character (which is zip limitation as well), and this is what you are actually experiencing. I am not sure what exactly is current PA’s limit, it seems greater than 220 characters and less than 250. We will check it out more and fix it in one of the future revisions (but probably not the one this week since we need more time to test if we did not brake something else).
thanks for the report.
-
This post is deleted! -
This post is deleted!





