cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Help needed: FTP download, duplicated CR (carriage return ), dup licated new_lines

From: David Szekeres <Szekeres_at_micks.de>
Date: Fri, 9 May 2003 11:48:25 +0200

Hi,

>Also, please let us know what libcurl version you're using and on what
>platform.

I'm using the library version 7.10.4,

my platform is MS Windows 2000 Pro (download side)

and the FTP servers with I have experienced these problem are running under
- some kind of Linux (remote machine, I can't exactly tell)
- MS Windows 2000 Pro (upload and download on the same machine, for test to
see if it was OS-dependent, 'localhost')

This is it.
Hope it helps ...

Let me know if there's a change about it .

Thanks :)

-----Original Message-----
From: Daniel Stenberg [mailto:daniel_at_haxx.se]
Sent: Friday, May 09, 2003 9:21 AM
To: libcurl Mailing list
Subject: Re: Help needed: FTP download, duplicated CR (carriage return
), dup licated new_lines

On Thu, 8 May 2003, David Szekeres wrote:

> I'm trying to download some small text files via FTP with libcurl.

Initial alert: ftp ASCII download is already reported not to work properly.

> The download succeeds, however the file size on the server DIFFERS from
> what I get after the download.

And you wanted it to be identical?

> After seeing the files resulted with a hex viewer, I see, that every CR
> (carriage return) is being duplicated with the transfer.

When you used what options?

> I have already tried these settings:

[snip]

> None of them worked.

For binary download, you shouldn't need to fiddle with any of them, as
libcurl does binary by default if nothing else is told.

Also, please let us know what libcurl version you're using and on what
platform.

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com
-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com
Received on 2003-05-09