Open soywiz opened 9 months ago
Using backslashes instead of forward slashes as path separator is contrary to the zip specification (see section 4.4.17). So I think the resulting filename is expected behavior.
Indeed as you noticed that .zip file doesn't strictly adhere to the formal spec. I don't know the reason why that ones was generated, specially from a major project.
I was not able to extract it properly with NanaZip and had to extract it with Windows Explorer. When I extracted it with nanozip it generated strange file names and I was a bit confused at first because I had to rename them manually.
Since \
is probably not a valid character in windows file names,
Could by any chance this be taken into account and pragmatically consider both \
and /
as folder separator as Windows Explorer does, or at least notify that \
was used as a warning so I know the names are invalid (or both things)?
Folders not appearing correctly in NanaZip:
Working properly opening with windows explorer:
It is using
\
as file separator instead of/
:You can find that file here:
https://fastdl.mongodb.org/tools/db/mongodb-database-tools-windows-x86_64-100.3.1.zip