Which ftp server? vsftpd does this quite often if it is not customized
correctly. In particular, in /etc/vsftpd/vsftpd.conf , you need the lines:

ascii_upload_enable=yes
ascii_download_enable=yes

I think they are comment'd out in a section which looks like:

# By default the server will pretend to allow ASCII mode but in fact ignore
# the request. Turn on the below options to have the server actually do
ASCII
# mangling on files when in ASCII mode.
# Beware that on some FTP servers, ASCII support allows a denial of service
# attack (DoS) via the command "SIZE /big/file" in ASCII mode. vsftpd
# predicted this attack and has always been safe, reporting the size of the
# raw file.
# ASCII mangling is a horrible feature of the protocol.
ascii_upload_enable=YES


On Fri, Mar 8, 2013 at 12:47 PM, 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?
>
>
>
> Larry Davis,
> HP Enterprise Services
> E-mail: [email protected]<mailto:[email protected]>
>
>
> ----------------------------------------------------------------------
> 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/
>



--
This is a test of the Emergency Broadcast System. If this had been an
actual emergency, do you really think we'd stick around to tell you?

Maranatha! <><
John McKown

----------------------------------------------------------------------
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