On Wed, 03 Apr 2002 20:44:39 -0400, Clarence Verge wrote:
> On Wed, 03 Apr 2002 19:23:14 -0400, Clarence Verge wrote:
>> Ok, here's your first feedback entry: <G>
>> I screwed up my OWN A1.66 install by trying to test a .bat I had uploaded
>> that was designed for A1.71. (I don't know what's wrong) :((((
> F!@$^! linux/ftp/something decided I didn't have enough CRs in my .BAT !
> It changed all the CRLF (0dH0aH) sequences to CRCRLF !!!!!!!!!!!!!!!!!
> That was a wonderful waste of 4 hours - the problem was invisible.
Did you use Bput to upload it ?
And then Bget to download it?
To be sure that all uploads are done "exactly as-is".... use "Bput"
(or switch to binary mode (with bin<enter>), before doing an Mput)
And then be sure to do all downloads with Bget.
See the diff....
Volume in drive E is MCCORKLE_03
Directory of E:\!BGET
. <DIR> 4-03-02 9:13p
.. <DIR> 4-03-02 9:13p
ARACHNE BAT 1807 4-03-02 9:08p
3 File(s) 210255872 bytes free
Volume in drive E is MCCORKLE_03
Directory of E:\!GET
. <DIR> 4-03-02 9:13p
.. <DIR> 4-03-02 9:13p
ARACHNE BAT 1867 4-03-02 9:14p
3 File(s) 210255872 bytes free
The 60 line file got 60 CRs added to it by doing an "ASCII get"
instead of a "Binary get".
I'll now do an "ASCII put" and then a "Binary get"
Volume in drive E is MCCORKLE_03
Directory of E:\!PUTBGET
. <DIR> 4-03-02 9:23p
.. <DIR> 4-03-02 9:23p
ARACHNE BAT 1748 4-03-02 9:37p
3 File(s) 210239488 bytes free
The 60 CRs were "stripped-out" when I did the "ASCII put".
So, the other method is to do "ASCII put/ASCII get"
But.... this only works if you know for sure that ASCII put was used.
AFAIK,
BPUT/BGET works every time.
(with the possible exception of CGI scripts)
FWIW,
All files in /oldbuild and /changes/glennmcc
were uploaded while in Binary mode.
So.... D/L them in Binary mode to be sure that no CRs get added.
--
Glenn
http://arachne.cz/
http://freedos-32.sourceforge.net/
http://www.delorie.com/listserv/mime/
http://www.angelfire.com/id/glenndoom/download.htm
http://www.zorg.org/unixhumour/