This project is read-only.


Basic Zip file output stream support


I'm sorry the quality of this code isn't good, I didn't have much time at work to drop out the ICSharpCode library and replace it wth yours so I just did a quick fix that remained API compatible with your existing code ( i.e. ZipFile & ZipEntry).
If I get a chance this w/e I'll abstract it properly into a ZipOutputStream class or something, and provide a ZipFile constructor that works with Readable Streams perhaps, but I'm snowed under so I can't guarantee it.
I had a problem with extracting the created zip-files in Linux under Java (I'm specifically using this code to package 'BPR' files up for passing to Active Endpoint's BPEL orchestration engine which being an Interop kinda chap I'm sure you'll appreciate my pain!), so the paths being passed as ZipEntry's have a .Replace("\", "/") being applied to them. Everything seems ok with this additional change, so I'm mainly letting you know in case you don't spot the change [also I notice that you check for forward slashes to determine whether an entry is a directory, so the compression should be more compatible with that code now].
I did have 'diff' file for you, but I couldn't seem to come up with a version that I could successfully patch the original code with , strange.
Please find attached my modified code, and associated buidl artifacts

file attachments

Closed Feb 5, 2008 at 10:02 PM by Cheeso
fixed in v1.3


Cheeso wrote Feb 5, 2008 at 9:47 PM

This is fixed, including the forward slash thing, in change set 14498.

wrote Feb 5, 2008 at 9:48 PM

wrote Feb 5, 2008 at 9:48 PM

Cheeso wrote Feb 5, 2008 at 10:02 PM

fixed in change set 14498

** Closed by Cheeso 2/5/2008 1:48 PM

Cheeso wrote Feb 5, 2008 at 10:02 PM

re-opened to assign to a release.

wrote Feb 5, 2008 at 10:02 PM

wrote Feb 5, 2008 at 10:02 PM

wrote Feb 22, 2013 at 2:44 AM

wrote May 16, 2013 at 1:32 PM