cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: is this a bug or I do something wrong?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 20 Mar 2002 13:02:34 +0100 (MET)

On Wed, 20 Mar 2002, Peter Verhas wrote:

> It seems that if I try to upload a file from Linux to Linux using ftp and I
> specify the CURLOPT_CRLF option then curlopt hangs.

Jawohl, that was severly broken and has been so in the last few curl releases
(since 7.9.3 I believe). Good catch!

I fixed this problem and committed two files that need to be patched in order
to get this functionality back. I also added test case 128 that verifies that
this works.

lib/ftp.c patch:

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/curl/curl/lib/ftp.c.diff?r1=1.133&r2=1.134

lib/transfer.c patch:

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/curl/curl/lib/transfer.c.diff?r1=1.87&r2=1.88

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2002-03-20