chuckmalani Posted May 1, 2003 Posted May 1, 2003 i know gzip is installed, but is regular zip installed? im on server 12, and I can't unzip a zip archive. there also isn't a man page for it. the script im trying to install isn't provided with a gz archive, just a zip. don't know if this is in the right topic either.... thanks, chuck Quote
chuckmalani Posted May 1, 2003 Author Posted May 1, 2003 i tried extracting it thru the cpanel, and this is all i get... File Type: Zip archive data, at least v2.0 to extract and it doesnt unzip Quote
Lianna Posted May 1, 2003 Posted May 1, 2003 Chucky, Unzip the file on your local machine and then upload the contents. Or, if you have a Zip utility app that will create a gzip, then unzip the contents then rezip them into a gzip and upload. Quote
KevinW Posted May 2, 2003 Posted May 2, 2003 GZIP & TAR are basic UNIX/LINUX utilities and formats for backing up and compressing files. TCH servers run LINUX as the operating system. ZIP is a PC (Windows) based ZIP format. As such, there is no built in support for ZIP formats, or for unzipping zip files! As Lianna says, unzip your files on your computer, then upload using either an FTP program or cPanels's File Manager. -kw Quote
chuckmalani Posted May 2, 2003 Author Posted May 2, 2003 kw- there is *nix support for zip files. I have unzip on my FreeBSD box and my Solaris box, and its definately available on linux. for now i can do the manual workaround, but could we look into installing this: http://www.ctan.org/tex-archive/tools/zip/info-zip/ thanks, chuck Quote
Larry Posted May 2, 2003 Posted May 2, 2003 yeah.. I installed unzip on my redhat box the other week.. Quote
tastewar Posted May 2, 2003 Posted May 2, 2003 I've used the cPanel File Manager to unzip a couple of PC zips -- no problems thus far. Must be something particular about that zip file. Quote
Lianna Posted May 2, 2003 Posted May 2, 2003 Chucky, drop in a helpdesk ticket about this. It may just be a miss on Server12. Quote
KevinW Posted May 2, 2003 Posted May 2, 2003 Wow -- someone should slap my hand and tell me to check my advice first, before giving it. I had no clue that support for Windows ZIP format was included in versions of Unix/Linux. When I work with Unix, I only think of GZ. (Note to myself: get your head out of your old 1970 vintage AT&T System V Unix book and learn more about Linux and RedHat and other flavors!) -kw Quote
Larry Posted May 2, 2003 Posted May 2, 2003 lstover, its also the same on server5.. I dont even think unzip is installed on it.. Quote
borfast Posted May 2, 2003 Posted May 2, 2003 Just a little clearing: there's no such thing as "Windows ZIP" or "UNIX/Linux Zip". ZIP is a compressed file format, it doesn't care what operating system you use as long as you have a program that knows how to read/write the ZIP format. GZIP (GnuZIP) has builtin support for both GZIP (of course) and ZIP files - I'm not absolutely sure about this but I believe there are some differences between the two formats. What's the meaning of all this? It means that it doesn't matter where the file was created as long as you have a program that knows how to read/write it. If you compressed it on Windows, you can decompress it on UNIX/Linux and vice-versa, as long as you have software that understands the format of the file you want to open or write to. And this applies to every file format there is. There's no such thing as an operating system-specific file format, a file format that can only be opened under one Operating System. To give you another example: MS Office files - people get really surprised when they hand me over some Word or Excel files and then see that I'm using Linux but open the files anyway. Some people have even asked me "What's that version of windows you're running?" and I explain them that it's not Windows. Then they ask me "Then if it's not Windows, how can you open those files?" and... well, I give them this explanation I'm writing here... I hope this cleared things up a bit BTW, the program I use to open MS Office files under Linux is OpenOffice.org -> http://openoffice.org Which, by the way, I recommend to everyone, even Windows users who'd prefer to have something a little lighter than MS Office - OpenOffice.org full download weighs a little under 72 MB while MS Office... well, I don't think that anyone would even consider downloading it from the internet... Quote
TCH-Sales Posted May 2, 2003 Posted May 2, 2003 borfast, good information, but I don't think anybody was confused about that. The answer was that you can't unzip .zip files in CPanel, because well of the above reasons given. Solution solved! Now everybody have a nice day.. Quote
KevinW Posted May 3, 2003 Posted May 3, 2003 I'm on server 5. I zipped a single file on my PC (using WinZip 8.1), and FTP'd the file to my server, and could not 'show' or 'extract' contents of zip file. Message I got was: File Type: Zip archive data, at least v2.0 to extract -kw Quote
Larry Posted May 3, 2003 Posted May 3, 2003 bash-2.05a$ cd /usr/bin bash-2.05a$ ls *zip* bunzip2 bzip2 bzip2recover gunzip gzip bash-2.05a$ bash-2.05a$ which unzip /usr/bin/which: no unzip in (/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin) bash-2.05a$ not there.. that's probally why Quote
chuckmalani Posted May 3, 2003 Author Posted May 3, 2003 right.... which is why i asked if we could have it installed??? this thread is going in circles! chuck (BTW- my work around is to unzip it on my old webhost, which i have been to lazy to cancel, and then gzip it.......) Quote
chuckmalani Posted May 4, 2003 Author Posted May 4, 2003 you want me to leave? i was just feeling comfortable here!!! Quote
Lianna Posted May 4, 2003 Posted May 4, 2003 Hey, if you still can't unzip on your server, please drop in a helpdesk ticket. Thanks. (Chucky, are you getting dizzy yet from walking in circles? ) Quote
chuckmalani Posted May 5, 2003 Author Posted May 5, 2003 lianna- still can't unzip command line nor can i extract via cpanel. i opened a help desk ticket. BTW, i completely forgot what i was trying to unzip!!! chuck Quote
KevinW Posted May 5, 2003 Posted May 5, 2003 So, in order to keep Chucky (and others) from going in circles ... let me summarize, and someone tell me if I'm wrong: 1. We should be able to "unzip" files (created by PKZip or WinZip) via cPanel's File Manager 2. If we are not able to get the unzip to work, we should submit a help ticket. Correct? -kw Quote
TCH-Alan Posted May 5, 2003 Posted May 5, 2003 Sorry for taking so long to resolve this issue, this thread has only just been brought to my attention via a support ticket. After looking on our Linux servers, unzip and zip are not standard utilities that are installed when the operating system is installed. The reason probably being zip is a Windows format compression utility... and we know Windows and Linux don't like each other. Anyway, FSUchucky3 did open a support ticket and I have satisified his request by manually installing unzip and zip programs onto server12. It also works correctly in the Cpanel file manager. I think another user in this thread has said it doesn't work on server5, well it should do now, I've just installed the same on server5 too. If anyone else is needing to unzip a file, just open a support ticket and either myself or anothe tech will resolve it. Quote
chuckmalani Posted May 5, 2003 Author Posted May 5, 2003 thank you alan for your quick response. now can you help me remember what i was trying to unzip? chuck Quote
TCH-Alan Posted May 5, 2003 Posted May 5, 2003 now can you help me remember what i was trying to unzip? Lol, your wallet to get the credit card out? No problem on the fast response... remember to open a ticket as that is always the fastest way to get something resolved. Quote
TCH-Don Posted May 6, 2003 Posted May 6, 2003 I think another user in this thread has said it doesn't work on server5, well it should do now, I've just installed the same on server5 too.I think it was KW.I had tried it before and no good. I just tried it on server 5, and it works now, thanks TCH Rocks Quote
paco Posted May 10, 2003 Posted May 10, 2003 I've had the problem a few minutes ago (couldn't descompress .zip or gzipped files with cpanel), and the solution is to compress with gzip, WITH EXTENSION .gz (if not have this extension, is impossible in my case, it only shows the name of the contents) Quote
TCH-Rick Posted May 21, 2003 Posted May 21, 2003 I've added zip to server 10 (since I've wanted it on my sites) and on server 26 at a user's request. As Alan mentioned, let us know if you need it on your server and we can get it working. Quote
TCH-Rick Posted May 22, 2003 Posted May 22, 2003 (edited) All servers now have the zip and unzip functions active through the cPanel. Might as well have it there when you need it. Edited May 22, 2003 by Rickvz Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.