Worst case, you can pass your linux file through unix2dos and ftp the
result (in ascii).

--
Mike Harding
z/VM System Support

[email protected]
[email protected]
(925) 926-3179 (w)
(925) 323-2070 (c)
/sp


Linux on 390 Port <[email protected]> wrote on 03/08/2013 11:10:19
AM:

> From: Alan Altmark/Endicott/IBM@IBMUS
> To: [email protected],
> Date: 03/08/2013 11:13 AM
> Subject: Re: FTP CR/LF issues
> Sent by: Linux on 390 Port <[email protected]>
>
> On Friday, 03/08/2013 at 01:49 EST, "Davis, Larry (National VM
> Capability)" <[email protected]> wrote:
> > When pulling files using the GET command in FTP from LINUX to VM, the
> CR/LF is
> > lost and the files end up as one huge line in CMS.
> >
> > Is there a function on the Linux side I need to change to prevent this
> or is it
> > an entry in the FTP client on VM?
>
> The VM FTP client requires CRLF (0x0d0a) sequences on the wire for text
> transfers.  This is not configurable, as it is a required element of the
> FTP protocol.
>
> Unix-based ftp servers and clients that transmit just LF instead of CRLF
> are effectively sending the file in binary rather than in the ftp
> canonical text format.  If the Linux ftp daemon is not configurable to
> operate per the standard, I'd open up a ticket with my service provider.
>
> Alan Altmark
>
> Senior Managing z/VM and Linux Consultant
> IBM System Lab Services and Training
> ibm.com/systems/services/labservices
> office: 607.429.3323
> mobile; 607.321.7556
> [email protected]
> IBM Endicott
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO LINUX-390 or
visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> ----------------------------------------------------------------------
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/
>

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to