Re: Uncompressing files on server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Josh wrote:
> I have some PHP files from a content management system.  I uploaded the
> compressed files to the server, but how do I un-compress them now?  I am
> using Filezilla.  Can it be done, or do I have to uncompress the file on
> my
> computer and then upload?

If you have a shell account (SSH or telnet) login on the webserver, you
should be able to:

1. Login to the web server.
2. 'cd' to the directory containing the compressed file.
3a. gunzip NAMEOFCOMPRESSEDFILE.gz
----- OR ------
3b. unsip NAMEOFCOMPRESSEDFILE.zip
4. If there is a '.tar' file now, do:
tar -xvf NAMEOFCOMPRESSEDFILE.tar

If it's not a .gz or a .zip file, then how you uncompress it, or if you
*can* uncompress it depends on what the compression is, and what software
is or isn't on your webserver.

PS  If your webserver is a Windoze box, you're on your own, kid.

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux