I have Ionic.Zip 184.108.40.206 and using it to create password protected zip file from text file, that are used as an input to IBM Mainframe.
I run into problem that the file I produce diagrammatically is in the binary format.
Even though PKZIP on Mainframe seems to be able to extract the file,
the system into which the file is supposed to be inputed complains that the file is in Binary format.
If I manually create a zip file from the same text file using WinZip, then MF system accepts it, specifying that it's format is text.
Can you help?
snippets of code to do actual ziping:
using (ZipFile zip = new ZipFile())
zip.Password = "somepassword";
catch (System.Exception ex1)
System.Console.Error.WriteLine("exception: " + ex1);