cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: FTP of data from an Z/OS system brings ^M at the end of each line

From: Lisa M Saichompoo <lisas_at_unr.edu>
Date: Tue, 27 Sep 2005 07:18:33 -0700

Thank you for the information, I was afraid that was what that bug was referring to. I don't know your relationship, if any with the product, but do you know if there is a plan to address this bug in the next version?
 

________________________________

From: curl-users-bounces_at_cool.haxx.se on behalf of Daniel Stenberg
Sent: Tue 9/27/2005 4:15 AM
To: the curl tool
Subject: Re: FTP of data from an Z/OS system brings ^M at the end of each line

On Mon, 26 Sep 2005, Lisa M Saichompoo wrote:

> When using curl in ASCII mode to bring down files, from a Z/OS server, we
> found a carriage return is marked by ^M and appears at every line in the
> files. If we use plain ftp to bring the same data down the carriage return
> does not appear. Is there a way to eliminate the carriage return when using
> curl ftp?

Nope. This is a known flaw in how curl does FTP ASCII transfers. See item #21
in the list of known bugs:

        http://curl.haxx.se/docs/knownbugs.html

The only real fix is to patch the code to do right.

Sorry.

--
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html

Received on 2005-09-27