Unzip [message #219018] |
Mon, 12 February 2007 10:30 |
plshelp
Messages: 205 Registered: January 2007
|
Senior Member |
|
|
Hi all,
I need to apply a patch in the database on a remote server using putty. I have only applied patches on windows so far. I am using putty to access the remote Unix server. I downloaded the patch from metalink and its a winzip file. Can anybody tell me how I can unzip the file in the remote server using putty??
I tried ftp IP
put c:\p4689959_9207_SOlARIS64
And after this I could see the file in the remote server. But I dont know if it got transferred properly, also please somebody tell me how I can unzip this winzip file in putty.
I tried unzip p4689959_9207_SOlARIS64, its giving me the below error:
unzip: cannot find zipfile directory in one of p5382965_92070_WINNT
|
|
|
|
Re: Unzip [message #219032 is a reply to message #219018] |
Mon, 12 February 2007 11:08 |
plshelp
Messages: 205 Registered: January 2007
|
Senior Member |
|
|
Yes I did go through the Read me file.But it just tells how to apply the patch. Before that I need to unzip the file on the remote server using putty. I dont know how to do that. Help really appreciated. Thank you.
|
|
|
Re: Unzip [message #219044 is a reply to message #219032] |
Mon, 12 February 2007 12:32 |
|
Littlefoot
Messages: 21823 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
If I'm not wrong, your UNIX server should have UNZIP.EXE in order to successfully unzip this file. If it doesn't have it, you're out of luck. Unless, of course, you unzip it on your MS Windows machine and then transfer the patch over the FTP. Just don't forget to enable BINARY mode before transferring file(s).
PUTTY is just a terminal emulator; you don't HAVE TO use it - if there's another one, more user-friendly which, for example, supports FTP (having a GUI environment, possibly), why not? We use Reflection and it offers FTP Client which is Windows Explorer -like (and easy to use). There are also many free FTP clients available - try to set up any of them in order to transfer the whole tree (directories and their files). FTP (command-line one) supports multiple files transfer - MGET and MPUT, but I'm not sure that it'll take care of nested directories.
|
|
|
|
Re: Unzip [message #219188 is a reply to message #219032] |
Tue, 13 February 2007 09:26 |
|
Mahesh Rajendran
Messages: 10708 Registered: March 2002 Location: oracleDocoVille
|
Senior Member Account Moderator |
|
|
>> Before that I need to unzip the file on the remote server using putty
It will never happen.
Seems the OP has literally taken the words.
As Littlefoot kindly explained,
Putty is just an ssh tool to tunnel into a remote server.
One has to ftp the zip file to the remote server using scp/sftp.
Then use putty to login and unzip the file.
[Updated on: Tue, 13 February 2007 09:27] Report message to a moderator
|
|
|
Re: Unzip [message #219199 is a reply to message #219018] |
Tue, 13 February 2007 09:52 |
plshelp
Messages: 205 Registered: January 2007
|
Senior Member |
|
|
Sorry about the confusion ppl.It was a mistake I copied the wrong the error. I am using windows and working with solaris Sparc remotely. But anyways its working now. I transferred the file using ftp and did unzip filename in putty and it works.
Thanks a lot for all your help.
|
|
|