[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] CGI Script wwwcount2.5
- Subject: RE: [cobalt-users] CGI Script wwwcount2.5
- From: "Eric Arseneau" <eric@xxxxxxxxxxxxxx>
- Date: Sun Feb 25 10:22:06 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> > Subject: Re: [cobalt-users] CGI Script wwwcount2.5
> > Always upload files in _binary_ mode, not ASCII.
>
> > Thank you, transferring in binary did the trick
>
> HUH???
> Oh I am *so* confused now. CGI is supposed to be uploaded in ASCII...
> Unless he had a tarred/zipped file that he uploaded to the server, and
> wasn't uploading file by file...
>
> I know I haven't been to sleep in over 36hours but this makes
> *no* sense to
> me.
> If you upload a CGI script in binary it will wrap lines, put
> nasty new-line
> blocks on the end of everything, and generally break the script...
>
> What am I missing?
Your not missing anything. The wwwcount2.5 has binary files in it, and they
MUST be downloaded using _binary_ mode, andy text files or actual 'scripts'
should be done using ASCII. The Perl, or PHP type CGI should be downloaded
using ASCII mode. I usually use a client on my PC to transfer and let it do
auto detect of the appropriate mode.