Respass, Clarence (EHQ) wrote: > I zip a file using "Info-ZIP" on a HP-VMS system. I then use perl to ftp the > files to a Unix system. I using gzip with the -N option, but my files are > always decompressed without the original file extension. > > Example: > > VMS system: > > Archive: PH$DEVL:[COM]TRYFTP.GZ;1 > Length Date Time Name > --------- ---------- ----- ---- > 2082 02-08-2010 11:03 tryftp.txt > --------- ------- > 2082 1 file > > Unix system: > > $ gzip -dNv tryftp.gz > tryftp.gz: 50.8% -- replaced with tryftp
Perhaps info-ZIP does not record the original name. If the compressed input lacks the original name, it can't very well use it.