From: lee@hsh.com (Lee Havemann)
Newsgroups: vmsnet.networks.desktop.pathworks
Subject: RE: Problem w/PKUNZIPping PKZIPped & UUENCODEd Files
Date: 17 Dec 92 18:59:43 GMT
Organization: HSH Associates

In article <AC88DDC6963F405C71@CPHKVX.BITNET>, CCCYKWOK@CPHKVX.BITNET (C.Y. Kwok (Postmaster)) writes:
>>
>>I suppose you guys have run into this problem before, but I don't see it
>>being asked often:
>>
>>I seem to have problem PKUNZIPping files off from the net that were
>>PKZIPped and then UUENCODEd.  The way I have done it was to...
>>
>>    1) Extract the posting to a file
>>    2) Edit out headers
>>    3) UUDECODE file
>>    4) Jump into MSDOS and PKUNZIP file (via pathworks, i.e., drive M:)
>>
> You should carry out UUDECODE file under MSDOS.
>  
>         1) ...
>         2) ...
>         3) Jump into MSDOS and UUDECODE file (via pathworks, on drive M:)
>         3) PKUNZIP file
>  
> A zipped file is a binary file. Most binary files created under VMS (not
> those created by PCFS_SERVER) are incompatible with those created on
> MSDOS and stored on the M: drive.

Hmmm - then why does this work? :-)

HSHVXA::LEE>dir [.latcom]latcom.zip/fu

Directory SYS$SYSDEVICE:[SYSPROG.LEE.LATCOM]

LATCOM.ZIP;1                  File ID:  (5553,5,0)         
Size:          129/129        Owner:    [SYSPROG,LEE]
Created:  18-NOV-1992 11:23:36.00
Revised:  10-DEC-1992 10:54:43.02 (5)
Expires:   <None specified>
Backup:    <No backup recorded>
File organization:  Sequential
File attributes:    Allocation: 129, Extend: 0, Global buffer count: 0
                    No version limit
Record format:      Fixed length 512 byte records
Record attributes:  None
RMS attributes:     None
Journaling enabled: None
File protection:    System:RWED, Owner:RWED, Group:, World:
Access Cntrl List:  None

Total of 1 file, 129/129 blocks.

HSHVXA::LEE>unzip -v [.latcom]latcom.zip
[[.latcom]latcom.zip] comment:
PATHWORKS 4.1 Unsupported LATCOM Utility
 Length  Method   Size  Ratio   Date    Time   CRC-32     Name ("^" ==> case
 ------  ------   ----  -----   ----    ----   ------     ----   conversion)
   1521  Implode   1045  31%  03-16-92  14:58  bacb2d5c  ^latcom.sys
   2116  Implode   1237  42%  03-16-92  16:59  cf4258a7  ^latcom.txt
  83071  Implode  44670  46%  03-16-92  16:48  244a38f7  ^use.exe
   1962  Implode   1075  45%  03-16-92  15:04  a8a6a848  ^comtst.c
   7675  Implode   5369  30%  10-21-91  10:51  68fb23cc  ^comtst.exe
  19584  Implode  11629  41%  03-03-92  16:50  a15fc052  ^lat.exe
 ------          ------  ---                              -------
 115929           65025  44%                              6      


This was created via PKZIP on an MS_DOS machine - You do have to NFT COPY/
BLOCK the file between machines, otherwise it usually doesn't work.
If you are using an older version on zip/unzip (ala 1.1), you should get
the newer versions (1.9 for ZIP, V5.0 Unzip), because you can't unzip the 
newer version zip files.
  I have the whole package ranging from VMS zip/unzip to MS-DOS. If you need 
it, it is available via anonymous FTP from ftp.spc.edu (I think it's in the 
[macro32.savesets] directory in a compressed VMS backup file (zip-unzip.bck_z).


>  
>>Same problem with UUENCODEd PKZIPped files via e-mail.  If, however, a
>>PKZIPped file has first been COMPRESSed and then UUENCODEd, I don't have
>>any problem extracting files out from it.  I know I'm missing something
>>obvious... *sigh*, any help there?
>>

Could also be your UUDECode program is flakey - I use the pascal version 
written by Christion Bode (V1.9) - works for everything here. That's also 
available at ftp.spc.edu in the macro32.savesets dir (uucode.bck_z)

Email if you need anything else.

-- 

 Lee Havemann, Comp Ops Dir.    HSH Associates      (201) 838-3330 
 Internet: lee@hsh.com    Compuserve: 70410,3507    AOL: HSH Assoc
 "Any opinions expressed are not necessarily those of anyone else, 
  including myself."