Does anyone know how to uncompress ZIP archives in VW ?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Does anyone know how to uncompress ZIP archives in VW ?

Denis Johnson
Can someone please give me a pointer as to how to uncompress ZIP
archives in VisualWorks ?

I understand that the ZLIB interface is linked into the VM however
zlip does not handle ZIP afaict.

Unfurtunately I also cannot dictate what format the archives are so I
must be able to handle ZIP.

Any assist is most appreciated.

regards Denis

Reply | Threaded
Open this post in threaded view
|

RE: Does anyone know how to uncompress ZIP archives in VW ?

Steven Kelly
I've used the old winzip command-line add-on:
WinZip(R) Command Line Support Add-On Version 1.0 (build 3181)
from wzcline.exe (contains the files zipped), 25.7.2000

I'd lost my copy of it, but found it again online as part of an article,
in backup_utils.zip (Google that filename!). Works fine with WinZip 9.0
SR-1.

Steve


> -----Original Message-----
> From: Denis Johnson [mailto:[hidden email]]
> Sent: 27 November 2006 01:46
> To: [hidden email]
> Subject: Does anyone know how to uncompress ZIP archives in VW ?
>
> Can someone please give me a pointer as to how to uncompress ZIP
> archives in VisualWorks ?
>
> I understand that the ZLIB interface is linked into the VM however
> zlip does not handle ZIP afaict.
>
> Unfurtunately I also cannot dictate what format the archives are so I
> must be able to handle ZIP.
>
> Any assist is most appreciated.
>
> regards Denis

Reply | Threaded
Open this post in threaded view
|

Re: Does anyone know how to uncompress ZIP archives in VW ?

Denis Johnson
Hi Steve, thanks for that.

I don't think I was clear enough and I meant to also mention that I
would prefer not to depend on an external library (to minimize
deployment complications) and also to unzip in memory to avoid issues
with rights and temporary files.

Ideally I would also like a solution which is platform independent,
however my primary requirement is currently Windows only.

cheers Denis

On 11/27/06, Steven Kelly <[hidden email]> wrote:

> I've used the old winzip command-line add-on:
> WinZip(R) Command Line Support Add-On Version 1.0 (build 3181)
> from wzcline.exe (contains the files zipped), 25.7.2000
>
> I'd lost my copy of it, but found it again online as part of an article,
> in backup_utils.zip (Google that filename!). Works fine with WinZip 9.0
> SR-1.
>
> Steve
>
>
> > -----Original Message-----
> > From: Denis Johnson [mailto:[hidden email]]
> > Sent: 27 November 2006 01:46
> > To: [hidden email]
> > Subject: Does anyone know how to uncompress ZIP archives in VW ?
> >
> > Can someone please give me a pointer as to how to uncompress ZIP
> > archives in VisualWorks ?
> >
> > I understand that the ZLIB interface is linked into the VM however
> > zlip does not handle ZIP afaict.
> >
> > Unfurtunately I also cannot dictate what format the archives are so I
> > must be able to handle ZIP.
> >
> > Any assist is most appreciated.
> >
> > regards Denis
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Does anyone know how to uncompress ZIP archives in VW ?

eliot-2
In reply to this post by Denis Johnson
Hi Denis,

        I hear your pain.  The zip format is, ah, complicated.  here's a full spec:
http://www.pkware.com/business_and_developers/developer/appnote/

If you have someone local Id pair to construct the reader.  It might be only a few hours to get a decoder given you take the code in tar decoding for file wrtiting.

"Denis Johnson" <[hidden email]> wrote:

| Can someone please give me a pointer as to how to uncompress ZIP
| archives in VisualWorks ?

| I understand that the ZLIB interface is linked into the VM however
| zlip does not handle ZIP afaict.

| Unfurtunately I also cannot dictate what format the archives are so I
| must be able to handle ZIP.

| Any assist is most appreciated.

| regards Denis

HTH :/
---
The surest sign that intelligent life exists elsewhere in           Calvin &
the universe is that none of it has tried to contact us.             Hobbes.
--
Eliot     ,,,^..^,,,    Smalltalk - scene not herd     x4581 [hidden email]