Use the "ascii" command to set the transfer type. When the file goes from MS to Linux, the CR/LF line endings will be changed to be just NL (new lines).
Mark Post -----Original Message----- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Tom Duerbusch Sent: Friday, April 15, 2005 3:00 PM To: [email protected] Subject: FTP Win/2000 to Linux I'm trying to ftp an ascii file from Windows/2000 to Suse 9.0. On the Linux side, I edit the file "joe user.diskmap" and out on the extreme right hand side, I have a column of upper case M with an underscore under it. Obvouisly, some sort of cr or lf character. But I can't seem to have the file sent without it. The client doesn't have many options: ftp> help Commands may be abbreviated. Commands are: ! delete literal prompt send ? debug ls put status append dir mdelete pwd trace ascii disconnect mdir quit type bell get mget quote user binary glob mkdir recv verbose bye hash mls remotehelp cd help mput rename close lcd open rmdir I can send the file up to VM without the extra character. When I send a file from CMS to Linux, I also get the character. It seems that the character might be put in by the FTP daemon. I am using vsFTPd 1.2.1 on Linux. Obvious that there is an option in the vsftpd.conf file, but nothing stands out. Does anyone know the fix to this yet? Thanks Tom Duerbusch THD Consulting ---------------------------------------------------------------------- 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 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
