You need to have shell access to your account so you can issue commands and the server needs to be running some flavor of *NIX (UNIX, LINIX, BSD, etc.) then it's just a matter of understanding how it works and what the commands are:
http://linux.about.com/od/commands/l/blcmdl1_gzip.htm