Re: Downloading Help
by John.ksi(at)webplus.net
|
Date: |
Sun, 16 Jan 2000 11:00 EST |
To: |
hwg-servers(at)hwg.org |
|
todo: View
Thread,
Original
|
|
> sub download {
> print "content-type: text/html\n\n";
> print "$file\n";
> }
>
> where $file is referring to the zipped file.
Without knowing the details of what errors you get when it "didn't
work," I'd say at least part of the problem is that you're
telling the client software that you're sending HTML content
and then you send it a zip file instead. That ain't right.
Also, don't forget to use "binmode".
-John
HWG: hwg-servers mailing list archives,
maintained by Webmasters @ IWA