unzip error with subdirectory ending with space

Please report only one bug per message!

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Cruysen
Junior Member
Junior Member
Posts: 18
Joined: 2012-09-28, 08:31 UTC
Location: St.Hubert nl
Contact:

unzip error with subdirectory ending with space

Post by *Cruysen »

I've made accidently a subdirectory what was ending with a space. For normal use no problem.

The zipping of the directory is no problem. The space is zipped correctly.
But when I unziped the file the directory is without the space. Then the next files can't be unzipped because the directory with the space can't be found by TC and gives a error of write protection.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48079
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sorry, currently it's not planned to support it. Folders with spaces at the end are currently only supported in a few places within TC, because they cannot be accessed with the normal Windows function calls (they need to be treated separately). There are probably dozens of locations where they do not work.
Author of Total Commander
https://www.ghisler.com
Cruysen
Junior Member
Junior Member
Posts: 18
Joined: 2012-09-28, 08:31 UTC
Location: St.Hubert nl
Contact:

Post by *Cruysen »

So it's not the problem of TC, but a bad support of the MS windows API.
Then it has no use to make a lot of workarounds to support this. It will only blow up the source. Keep TC compact and fast! :-)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48079
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Yes, it's similar to file names longer than 255 characters - the Windows functions don't really support it out of the box. TC needs to call them in a special way to access such files.
Author of Total Commander
https://www.ghisler.com
Post Reply