cURL / Mailing Lists / curl-library / Single Mail

curl-library

Problem downloading using text transfer mode

From: Abel Alonso <abelalon_at_gmail.com>
Date: Mon, 23 Jun 2008 12:36:13 +0200

Hi!

I've got an issue downloading text files using text transfer mode. The
proccess I did was the following:

1. I uploaded the file enabling these two options:

CURLOPT_TRANSFERTEXT
CURLOPT_CRLF

2. I download the file with the same options enable and I miss as characters
as line-endings are in the file.

3. I download the file with those options disabled and the file is
downloaded properly.

I don't know what I have to do to download files properly in text mode, any
suggestion or help?

Thanks!!
Received on 2008-06-23