hidden character ?

Dennis Malen dmalen at malen.com
Wed Jan 11 15:28:20 PST 2006


Ken,

I have been using a binary FTP for about 1 and 1/2 years. Before that ASCII. 
My experience has been that I had more errors in ascii as filepro had 
trouble reading the records being imported, than I did in binary. The only 
problem I do have periodically is the "?". I am able to overcome that 
problem with filepro programming by using the len command and re-writing to 
the field the same info.

In any event, in my environment (AIX) binary seems to be more reliable.

Dennis Malen
516.479.5912

----- Original Message ----- 
From: "Kenneth Brody" <kenbrody at bestweb.net>
To: "Dennis Malen" <dmalen at malen.com>
Cc: <Filepro-list at lists.celestial.com>
Sent: Wednesday, January 11, 2006 4:58 PM
Subject: Re: hidden character ?


> Quoting Dennis Malen (Wed, 11 Jan 2006 16:53:56 -0500):
>
>> For clarification Ken - Are you saying that if you FTP in binary that
>> the ? appears and in ASCII it will not?
> [...]
>
> What I am saying is that BINARY mode does not convert text files from
> Windows to Unix format, while ASCII mode does.  Sending a Windows text
> file to Unix in BINARY mode (via ftp, or any other binary method) will
> leave the CRLF line endings, rather than LF, causing Unix to see a CR
> (aka Ctrl-M, 0x0D) at the end of every line.
>
> The same is true for any text file sent from one O/S to another one
> that uses different line endings, which is why ASCII mode exists in
> the first place.
>
> --
> KenBrody at BestWeb dot net        spamtrap: <g8ymh8uf001 at sneakemail.com>
> http://www.hvcomputer.com
> http://www.fileProPlus.com
>
>
> 




More information about the Filepro-list mailing list