Re: [MBS] ZipMBS and Zip64 support?

2014-06-04 Thread Christian Schmitz

Am 03.06.2014 um 23:54 schrieb Michael Diehr m...@xochi.com:

 Christian - perhaps you could offer us some control over the version # that's 
 output in the zip files?


Well, the CreateFile function has several variants and one is with 
versionMadeBy as integer. Maybe that helps?

CreateFile(Filename as string, FileInfo as ZipFileInfoMBS, ExtraLocal as 
string, ExtraGlobal as string, Comment as String, CompressionMethod as integer, 
Level as Integer, Zip64 as boolean, Raw as boolean, WindowBits as integer, 
MemLevel as integer, Strategy as integer, Password as string, crcForCtypting as 
UInt32, versionMadeBy as UInt32, flagBase as UInt32)

Sincerely
Christian

-- 
Read our blog about news on our plugins:

http://www.mbsplugins.de/

___
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info


Re: [MBS] ZipMBS and Zip64 support?

2014-06-04 Thread Michael Diehr
I did try that but it didn't seem to change the version # output - does it 
work?  

If so, what do we pass for versionMadeBy? The Zip specification lists that as 
a 2-byte value, not a Uint32...

Also, I was not sure what to pass for default values for strategy, password, 
crcForCtyping, and also for flagBase.   

Could you give an example?


On Jun 4, 2014, at 2:53 AM, Christian Schmitz supp...@monkeybreadsoftware.de 
wrote:

 
 Am 03.06.2014 um 23:54 schrieb Michael Diehr m...@xochi.com:
 
 Christian - perhaps you could offer us some control over the version # 
 that's output in the zip files?
 
 
 Well, the CreateFile function has several variants and one is with 
 versionMadeBy as integer. Maybe that helps?
 
 CreateFile(Filename as string, FileInfo as ZipFileInfoMBS, ExtraLocal as 
 string, ExtraGlobal as string, Comment as String, CompressionMethod as 
 integer, Level as Integer, Zip64 as boolean, Raw as boolean, WindowBits as 
 integer, MemLevel as integer, Strategy as integer, Password as string, 
 crcForCtypting as UInt32, versionMadeBy as UInt32, flagBase as UInt32)
 
 Sincerely
 Christian
 
 -- 
 Read our blog about news on our plugins:
 
 http://www.mbsplugins.de/
 
 ___
 Mbsplugins_monkeybreadsoftware.info mailing list
 mbsplugins@monkeybreadsoftware.info
 https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

___
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info


Re: [MBS] ZipMBS and Zip64 support?

2014-06-04 Thread Tim Jones
Apple’s ZIP implementation assigns the same 000A version ID to both 32 and 64 
bit archives.

It’s sounds like you should modify your mini zip library to use Apple’s version 
ID since the rest of the world really doesn’t care :).

Tim

On Jun 4, 2014, at 9:57 AM, Christian Schmitz supp...@monkeybreadsoftware.de 
wrote:

 
 Am 03.06.2014 um 22:43 schrieb Michael Diehr m...@xochi.com:
 
 If I take the zip64 file created by MBS, and change that one byte (from a 
 002D to 000A or 0014), then the Finder properly handles the file.
 
 I'm not sure what to do about this - it looks like it's a bug in the Finder, 
 since the version 4.5 field appears to be technically correct. 
 
 Yes, that is very strange.
 
 Sincerely
 Christian
 
 -- 
 Read our blog about news on our plugins:
 
 http://www.mbsplugins.de/
 
 ___
 Mbsplugins_monkeybreadsoftware.info mailing list
 mbsplugins@monkeybreadsoftware.info
 https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

___
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info


Re: [MBS] ZipMBS and Zip64 support?

2014-06-04 Thread Christian Schmitz

Am 04.06.2014 um 19:07 schrieb Tim Jones tolis...@me.com:

 Apple’s ZIP implementation assigns the same 000A version ID to both 32 and 64 
 bit archives.
 
 It’s sounds like you should modify your mini zip library to use Apple’s 
 version ID since the rest of the world really doesn’t care :).
 

I simply make it a property so you can decide...

Sincerely
Christian

-- 
Read our blog about news on our plugins:

http://www.mbsplugins.de/

___
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info