Operating System - HP-UX
1821245 Members
2694 Online
109632 Solutions
New Discussion юеВ

how to unzip a file with .zip extention

 
radi_1
Frequent Advisor

how to unzip a file with .zip extention

Hi
I have downloaded a file to my pc with htm extention and added it to zip so i got a file
with .zip extention,i want to transfere it to
a hp-ux box which i can connect to by ftp,
how can i transfere it correctly with proper suffex or extentiond so i could unzip it using
gunzip or other hp-ux cmd.
Note:
the original file on the internet is a compressed group of files i think ,and they need to be extracted by running Windows
Pkunzip which is licensed to winzip.
Please any bette course of action .
Regards
never take simple maters for granted
8 REPLIES 8
Patrick Wallek
Honored Contributor

Re: how to unzip a file with .zip extention

How about using Unzip for HP-UX? You can get it here:

http://hpux.connect.org.uk/hppd/hpux/Misc/unzip-5.50/
Mark Grant
Honored Contributor

Re: how to unzip a file with .zip extention

Make sure you "ftp" it in binary mode. You can then just use "gunzip" on the file. If you have problems with gunzip, you could try this application instead.

http://hpux.connect.org.uk/hppd/hpux/Misc/unzip-5.50/
Never preceed any demonstration with anything more predictive than "watch this"
RAC_1
Honored Contributor

Re: how to unzip a file with .zip extention

HP-UX will understand file zipped by windows.

Put it on HP-UX and user gunzip to unzip it.

If you do not have gunzip get it from HP porting centre.

Anil
There is no substitute to HARDWORK
V. Nyga
Honored Contributor

Re: how to unzip a file with .zip extention

Hi,

1. gunzip ignores files with .zip extention (at my workstation), so you have to rename it with the new extention .gz.
2. gunzip works like winzip - if you only have one file!

What do you mean with:
- downloaded a file to my pc with htm extention
but
- the original file on the internet is a compressed group of files

Ftp with binary code
Have you renamed the extention to htm?
That wouldn't work with gunzip! (See 2.)

Can use 'tar' at your pc or can you download a tar file?
That would work.

Ftp with binary mode was already said ..

So good luck
Volkmar
*** Say 'Thanks' with Kudos ***
Steven E. Protter
Exalted Contributor

Re: how to unzip a file with .zip extention

If you are relatively current on gunzip and uzip(See PAtrick's post), you will be able to interchange files with Windows winzip without much effort.

Binary transfer is key.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
radi_1
Frequent Advisor

Re: how to unzip a file with .zip extention

thanks mates,
RAC says that hp-ux understands files zipped
by windows but gunzip usually unzip files with .gz or .tgz extentions while am having .zip window files on pc but when i transfered it to hp-ux box using binary ftp i
put it with .tgz and.gz suffexes ,which maybe i should not have,but gunzip
did not work.
I visited the site for unzip5.50 but it warned about some files might harm my pc so i refrained from downloading it.ofcourse its better for me to unzip these files on my PC
but as mentioned above i could it so i went back to my terretory that is hp-ux.
never take simple maters for granted
RAC_1
Honored Contributor

Re: how to unzip a file with .zip extention

If the suffix is different, you may need to use -s (If my memory server me right)suffix option of gunzip. Otherwise rename it and unzip.

Anil
There is no substitute to HARDWORK
Patrick Wallek
Honored Contributor

Re: how to unzip a file with .zip extention

I personally have NEVER had any problems downloading stuff the the HP-UX Porting Center. I have downloaded the unzip package and installed it without any problems whatsoever on several machines. It works great!