[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Which zip programs are installed on raq 3?
- Subject: Re: [cobalt-users] Which zip programs are installed on raq 3?
- From: "Larry E. Smith" <lesmith@xxxxxxxxxxxxxx>
- Date: Sun Nov 11 06:09:01 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
On Sat, Nov 10, 2001 at 08:19:15PM -0800, Dave Thomas wrote:
> Wow, thanks for the replies to all of you
>
> Larry, so to help this newbie, if I call system (in php)
> gzip, it'll creat a .gz, however, a windows user can use it?
>
Dave, yesssssss - said with hesitation....
> My goal in life now is to just have a .php page
> compress a file and send the dang thing to be downloaded
> dynamically to a windows pc
>
> I can die happily if that is what this can do
>
> thanks, I just wanted to make sure it would
> and how to confirm it's installed?
>
Just login (telnet, ssh) and type "which gzip". It will either
say what it is (where/pathname) or "not found" meaning it is
not installed... Most of your Win.X software now comes
"zipped" in one form or another - and most Win machines can
"read" it, so the probability is very good here. You might
just put a "link" to winzip on your pages (with approval) and
let people know that it, or some uncompress utility that
understands gzip will be required...
> OH, I have a lot to learn :)
>
We all do in one way or another...
Now we start getting "complicated". Can you gzip a file and
have it "download" - yes.
Problem is, your message(s) imply that whatever you are talking
about is being stored "un-compressed". If you simply call gzip
with a filename - it will compress "that" file, making it a
"filename.gz" vice the original filename (eg: index.html
becomes index.html.gz). Now the problem becomes how to
"compress" the original (but not the master copy of the file)
and then make that available for download... and I do not have
enough information about what you are trying to do to give any
sort of detail on how to do it....
Larry Smith
SysAd ECSIS.NET
sysad@xxxxxxxxx