This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
ASCII ftp transfer contains ^M
- From: lau bella <bellalauhk at yahoo dot com dot hk>
- To: cygwin at cygwin dot com
- Date: Thu, 18 Apr 2002 15:54:52 +0800 (CST)
- Subject: ASCII ftp transfer contains ^M
Hi all,
I installed Cygwin 1.3.10 in w2k advanced server
(SP2).
I create a DOS text file A with notepad in PC. The
size of file A displayed as 80 bytes in DOS prompt. I
used ASCII mode to transfer file A to the w2k advanced
server (using Cygwin ftp server). The size of file A
displayed as 80 bytes in Cygwin. When I use Cygwin
command 'dos2unix' to convert file A. The file size
changed to 75 byte.
File A may contain ^M characters. I want Cygwin
convert file A from DOS format to UNIX format
automatically after ftp. How can i do that, any
setting needed ?
thanks
_______________________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/