cURL / Mailing Lists / curl-users / Single Mail


Re: Extra character in a downloaded file

From: Patrice Regnier <>
Date: Mon, 19 Jul 2004 18:18:22 +0200


I don't know if there is a option with cURL for that, but ^M means you have dos end of line characters on your files :
nothing to do with download protocol but look on the doc, there is maybe an option to avoid this...



On Mon, 19 Jul 2004 11:08:07 -0500
"Hoog, Carl" <> wrote:

> I'm a new CURL user. I've been able to connect to an https server and download a file successfully to my UNIX box. My problem is that each line in the file has a ^M character at the end. What causes this extra character? Can I download differently so that I don't get it or will I need to strip it off after I have the file?
> Thanks for any help.
> Carl
> Confidentiality Warning: This e-mail contains information intended only for the use of the individual or entity named above. If the reader of this e-mail is not the intended recipient or the employee or agent responsible for delivering it to the intended recipient, any dissemination, publication or copying of this e-mail is strictly prohibited. The sender does not accept any responsibility for any loss, disruption or damage to your data or computer system that may occur while using data contained in, or transmitted with, this e-mail. If you have received this e-mail in error, please immediately notify us by return e-mail. Thank you.

Patrice Regnier
Genethon - Controle de Gestion
01 69 47 25 83
Received on 2004-07-19