cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: FTP transfers default to ASCII mode

From: Angus March <angus_at_uducat.com>
Date: Wed, 15 Apr 2009 11:22:07 -0400

Guenter wrote:
> Hi,
> Angus March schrieb:
>
>> The implementation machine is a 32-bit Suse Enterprise 10, which
>> uses libcurl 7.15.1 . That's a little older than what I have on the
>> development machine (7.19.0 on an AMD64 running Suse 11.1) and the
>> problem doesn't occur on that system.
>>
> then its probably time to update the SLES box:
> http://software.opensuse.org/search?baseproject=SUSE%3ASLE-10&p=1&q=libcurl
>

    Actually, it turns out that I was basing URLs on file names returned
from a directory listing, and was filtering out the line feeds in the
file names, but not the carriage returns. I forgot that Microsoft
designed ftp servers. This probably confused the older libcurl
libraries, but not the newer ones. Thanks for your help.
Received on 2009-04-15