cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: PATCH: ftp.c force directory exists on upload, minor bugfix.

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 5 Aug 2003 15:05:52 +0200 (CEST)

On Mon, 4 Aug 2003, Early Ehlinger wrote:

> When uploading with libcurl, I found that if you reuse the connection,
> ftp->dirs does not get reset correctly and as a result files often end up in
> the wrong spot on the remote server.

Ah, I just managed to repeat this problem thanks to Salvatore's comments in
his bug report.

I added test case 146 which makes it occur, and I've committed a fix that
makes the test case run fine!

-- 
 Daniel Stenberg -- curl: been grokking URLs since 1998
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
Received on 2003-08-05