Web Hosting Talk







View Full Version : Call me stupid but.....


TopDog07
03-24-2002, 05:06 PM
I have a file on my website that was put there by the Web Host, I downloaded it but I need to know which program will need to be used to open it.

it is a .tgz extension.

MattF
03-24-2002, 05:28 PM
You need to do the follow

1) Gunzip it:
gunzip filename.tgz

this will uncompress the file to

filename.tar


2) Untar it

tar -xvf filename.tar

Chicken
03-24-2002, 06:43 PM
WinZip opens 'em. You can do what Matt said, but you'll have to do that logged into shell and execute those commands. If you have it on your Windows machine and just want to see what is inside and don't want to unzip it (or even if you do) WinZip will take care of that.

TopDog07
03-24-2002, 11:01 PM
Its really messed up. I usually can open those files with Win Ace.

However, when I unzip with winace it unzips and has another file which is just an "Open With" file with no exention what so ever.
It will not work with winzip, and I tried running winace with it, by looking just in the winace program It shows all the file names, but will not allow me to copy them to my hard drive or look at them. (giving a file not found error or somethign to that effect).

I am at my ropes end... :bawling: Its the files I need to edit Cpanel with with :(

akashik
03-26-2002, 01:55 AM
sounds corrupted. Maybe get your host to put another copy into your directory for you, or just try to download that same one again.

Greg Moore

JDF
03-26-2002, 01:59 AM
You can open .tgz files with winace but you cannot extract them using the shell extension method ( right click>extract to.. ). Just double click on the file, then click the extract button in Winace.

bobcares
03-26-2002, 07:52 AM
Hi!
Login to the server via telnet or ssh
Try this command
gzip -dc filename.tgz | tar -xvf-

Then zip it there as
zip -9 -r file.zip directory/
Then download the file and unzip with winzip.

I hope this helps.

Have a great day :)


regards
amar

TopDog07
03-26-2002, 12:21 PM
It apparently got messed up on my end because now its not the only one that wont open. just about all of my files are like that. They show the winace icon but try unzipping with winzip. lol :rolleyes: