cURL / Mailing Lists / curl-users / Single Mail

curl-users

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

From: Lisa M Saichompoo <lisas_at_unr.edu>
Date: Mon, 26 Sep 2005 15:04:36 -0700

You can but I just get junk (@ΕΑΧθρρ@@@@@@). I tried using the --crlf as well but that didn't help. Thanks for the thought...

________________________________

From: curl-users-bounces_at_cool.haxx.se [mailto:curl-users-bounces_at_cool.haxx.se] On Behalf Of Ralph Mitchell
Sent: Monday, September 26, 2005 2:54 PM
To: the curl tool
Subject: Re: FTP of data from an Z/OS system brings ^M at the end of eachline

 

Can you flip curl into binary mode for FTP?? I don't know - I've never used curl for FTP, but that looks like linefeeds are being converted to carriage-return-linefeed, or maybe vice versa. Binary mode *might* take care of it...

Ralph Mitchell

On 9/26/05, Lisa M Saichompoo <lisas_at_unr.edu> 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?

 
Received on 2005-09-27