How to unzip a file ftped from Window box?


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users How to unzip a file ftped from Window box?
# 1  
Old 06-22-2007
How to unzip a file ftped from Window box?

Hi,

How to unzip and file which FTP'ed from Windows box?
File name is ABC.ZIP
I tried unzip and gunzip -S .ZIP ABC.ZIP
i am getting following error
gunzip: ABC.ZIP: unknown suffix -- ignored

Any info is appreciated!

~t
# 2  
Old 06-22-2007
unzip works fine on linux.

What OS/platform are you using?
# 3  
Old 06-22-2007
our Operating environment is AIX
# 4  
Old 06-23-2007
And there lies the problem, zip or gzip is not available on AIX. give the following command and you will know why it is not working

Code:
whereis gzip

Try sending the file in some other format from Windows to AIX or if you have the privileges then install gzip. You can download it from

http://aixpdslib.seas.ucla.edu/packages/gzip.html
kamitsin
# 5  
Old 06-24-2007
hi,

gunzip is installed on the box, i did find when i 'whereis gunzip'.

but when i try to unzip using gunzip filename.zip
it is not working.
it says unknown suffix -- ignored

~t
Smilie
# 6  
Old 06-24-2007
ooops !!!!

use unzip in place of gunzip.

compress --------- uncompress
zip --------------- unzip
gzip -------------- gunzip

hope i am clear !!!!
kamitsin
# 7  
Old 06-24-2007
i tried both
still same issue

'Can't find the zipfile'
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. How to Post in the The UNIX and Linux Forums

Copying , renaming the file from windox box and ftp to Linux box

Hello my dear friends, Two file are auto generated from mon - fri at different directories on same windows box.Every day i have to copy the file, rename it (specific name)and ftp it to linux box specified directory. is it possible to automate this process,If yes this has to be done from windows... (1 Reply)
Discussion started by: umesh yadav
1 Replies

2. Shell Programming and Scripting

Unzip the .zip file without using unzip utility in UNIX

I have .zip file, i want to list all the files archived in the zip file. unzip utility is not working for me in unix. Please help me resolve this issue Thanks ganesh. (3 Replies)
Discussion started by: Ganesh L
3 Replies

3. Shell Programming and Scripting

How to create multiple input box in same window using dialog

Hi All, I was trying to generate GUI using shell script. After long search I found the utility called “dialog”. Using this utility I am able to generate window to collect the input. dialog --inputbox "Input 1" 10 45 dialog --inputbox "Input 2" 10 45 dialog --inputbox "Input 3" 10 45 Using... (2 Replies)
Discussion started by: kalpeer
2 Replies

4. Shell Programming and Scripting

file FTPed to another destination?

Hi, The scenario which I am describing here is strange but not a product of my imagination! I have a SFTP script which gets file from remote server to a local directory say (/home/dips/ftp/my_files) inside my_files/ there's another sub-dir archive/ The strange scenario is that once... (1 Reply)
Discussion started by: dips_ag
1 Replies

5. Shell Programming and Scripting

How to Unzip a file using unzip utility for files zipped without zip utility ?

Hi, I need to zip/compress a data file and send to a vendor. The vendor does have only unzip utility and can accept only .ZIP files. I do not have zip utility in my server. How do I zip/compress the file so that it can be deflated using unzip command ? I tried gzip & compress commands, but... (1 Reply)
Discussion started by: Sabari Nath S
1 Replies

6. Shell Programming and Scripting

pull files from window server to aix box

Hi All, I have a new requirment where i have to pull files from windows server to aix box. I am using scp command to pull a files. command is working fine but it is asking password for everytime i m running this command.I want to automate this so that it will not ask any password. ... (1 Reply)
Discussion started by: prasson_ibm
1 Replies

7. Shell Programming and Scripting

ftp file starting with particular name on Windows box to Unix box using shell script

Hello all ! I'm trying to write a shell script (bash) to ftp a file starting with particular name like "Latest_" that is present on a Windows box to UNIX server. Basically I want to set this script in the cron so that daily the new build that is posted on the Windows box can be downloaded to the... (2 Replies)
Discussion started by: vijayb4u83
2 Replies

8. Shell Programming and Scripting

How to Unzip a .ZIP file in Unix without using unzip cmd..?????

Hi All I have ftped a .ZIP file (zipped using WinZip in Windows) to my Unix server (HP-UX). I don't have unzip cmd available in my curent Unix version Please let me know any cmd in UNIX (other than unzip) using which I can unzip this .ZIP file . Please elaborate on the commands aval and... (5 Replies)
Discussion started by: sureshg_sampat
5 Replies

9. Solaris

strange problem regarding zip/unzip from window to solaris machine

Hi , I faced a very strange problem when I unzip a zip file on my solaris workstation. Actually I wanted to transfer a folder, say it TEST which contains some sub-folders inside it from windows to solaris machine. So I zipped this folder to TEST.ZIP on my windows machine. Then from my... (11 Replies)
Discussion started by: Raj Kumar Arora
11 Replies

10. HP-UX

How to Unzip a .ZIP file in Unix without using unzip cmd..?????

Hi All I have ftped a .ZIP file (zipped using WinZip in Windows) to my Unix server (HP-UX). I don't have unzip cmd available in my curent Unix version Please let me know any cmd in UNIX (other than unzip) using which I can unzip this .ZIP file . Please elaborate on the commands aval and... (5 Replies)
Discussion started by: sureshg_sampat
5 Replies
Login or Register to Ask a Question