[TriLUG] CR/LF

Tom Bryan tbryan at python.net
Sat Feb 26 16:30:24 EST 2005


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.  :-)

---Tom




More information about the TriLUG mailing list