delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/08/05/16:20:47

From: marius AT e DOT co DOT za (Marius van Wyk)
Subject: Re: ftp client corrupts binary files with ^m ??
5 Aug 1998 16:20:47 -0700 :
Message-ID: <35cc3ade.926429.cygnus.gnu-win32@intranet.tbs.co.za>
References: <Pine DOT LNX DOT 3 DOT 95 DOT 980805013441 DOT 6371C-100000 AT waitaki DOT otago DOT ac DOT nz>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

On Wed, 5 Aug 1998 01:40:57 +1200 (NZST), Andrew Thompson
<andrew AT waitaki DOT otago DOT ac DOT nz> wrote:

> I have ftp.exe installed on my system. When I get text files from other
> servers ftp works OK but when I set ftp to 'bin' and get a binary file the
> file comes out a little larger and (I Think) it has ^m's inserted into the
> binary code, hence it does not run.
> 
> Do I need to mount everyting as "text=bin" on my system currently
> everyting is text=!bin??

Assume that the ftp was written for a unix machine, and that the
author did not bother opening files as binary instead of text, so use
bin at all times anyway.

DOS's crlf configuration sucks - period

> I do not understand how this system translates text files from unix type
> to dos type.

> Andrew Thompson
> 
> -
> For help on using this list (especially unsubscribing), send a message to
> "gnu-win32-request AT cygnus DOT com" with one line of text: "help".

--
> finger marius AT e DOT co DOT za for PGP and other info.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019