I'm not sure about the underscore m but a common occurrence is that Windows
puts a CRLF character at the end of each line.  It displays as ^M.
There are a number of different ways to get rid of this.

Open the file in vi and enter :g/^M/s///g    Create the ^M by pressing
ctrl-v then enter.
Use a sed replacement script similar to the above syntax.
Change the Windows ftp client to not append anything.

Eric Clapsaddle
Grede Foundries, Inc.
Client/Server Analyst
Phone: (414) 256-9356
e-mail: [EMAIL PROTECTED]




             Tom Duerbusch
             <[EMAIL PROTECTED]
             iscity.com>                                                To
             Sent by: Linux on         LINUX-390@VM.MARIST.EDU
             390 Port                                                   cc
             <[EMAIL PROTECTED]
             IST.EDU>                                              Subject
                                       FTP Win/2000 to Linux

             04/15/2005 02:59
             PM


             Please respond to
             Linux on 390 Port
             <[EMAIL PROTECTED]
                 IST.EDU>






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

Reply via email to