Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <20020418075452.42347.qmail@web20801.mail.yahoo.com> Date: Thu, 18 Apr 2002 15:54:52 +0800 (CST) From: =?iso-8859-1?q?lau=20bella?= Subject: ASCII ftp transfer contains ^M To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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/