The tar command on Linux is used to create and extract TAR archive files. Run "tar -czvf archive-name.tar.gz /path/to/file” in the Terminal to compress a file or ...
IIRC, the server has to have the right MIME type set up in order for downloads from their server to work properly. But downloading it as text should work. Just leave the proper extension on the file ...