Same problem, but in reverse.

When you go from a CRLF host to a LF host and you choose ASCII mode
transfer, it will change all CRLF to CR.

When you go from a LF host to a CRLF host and you choose ASCII mode
transfer, it will change all LF to CRLF.

This is the problem. You have a file on Linux which has CRLF instead
of the expected LF. You should run dos2unix on the files in question,
OR transfer in binary mode.

Fuzzy

On 2/14/07, Eddie Chen <[EMAIL PROTECTED]> wrote:

-  I have a  file on the linux(client)  that has the  "\r \n"
-  FTP to the server  with "ascii" and then issue the put
-  When the file get to the server, I see  "\r \r \n".

   I just download the vsftp source and  it's  translating    "\r \n"    to
"\r \r \n"  in the ascii.c.
   I am totally lost and HELP .

    Thanks

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

Reply via email to