[TriLUG] CR/LF

Andrew Perrin clists at perrin.socsci.unc.edu
Sun Feb 27 07:28:51 EST 2005


On Sat, 26 Feb 2005, Tom Bryan wrote:

> On Saturday 26 February 2005 02:41 pm, Andrew Perrin wrote:
> > No, William is right - the ASCII transfer mode will handle any discrepancy
> > between Mac and Linux, but won't handle the fact of its being eventually
> > read on Windows, unless Windows is on one end of the FTP transfer.  I
> > hadn't thought of that!
>
> I guess it depends how he's getting fhe files off of the Linux FTP server:
>
> > > >> asc(13) asc(10), or cr/lf pair terminating each line. So, to make
> > > >> my long story short, when I download files from my Windows box, my
> > > >> VB programs can use them, but when I download them from my Linux
> > > >> server my programs crash.
>
> If that "download" is another FTP transfer, then it should also be performed
> in ASCII mode.  If that doesn't work, then I suppose that we'll hear from him
> again soon.  :-)
>

An excellent point!

ap


----------------------------------------------------------------------
Andrew J Perrin - http://www.unc.edu/~aperrin
Assistant Professor of Sociology, U of North Carolina, Chapel Hill
clists at perrin.socsci.unc.edu * andrew_perrin (at) unc.edu






More information about the TriLUG mailing list