cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: libcurl and Microsoft IIS FTP server

From: Jeff Vincent <Jeff_Vincent_at_symantec.com>
Date: Tue, 30 Oct 2007 08:23:52 -0700

Thanks, I have informed the developer.

The file I have been using recently is 270MB. I have tried 1 GB and
larger files many weeks ago but needed to get a smaller file so I could
get through debugging my tests more quickly. I'll retry some larger
files soon.

-Jeff

-----Original Message-----
From: curl-library-bounces_at_cool.haxx.se
[mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of Rob Lievaart
Sent: Tuesday, October 30, 2007 5:29 AM
To: libcurl development
Subject: RE: libcurl and Microsoft IIS FTP server

Hi,
 
> > I'm new to this list and have tried searching the archives for my
issue but
> > without success. I am debugging an app (that I didn't write) that
uses
> > libcurl for FTP support. When copying against a Windows 2000 Server
running
> > the latest service packs (sp4) and using the MS IIS FTP server I am
getting
> > some weird behavior. I can't find anything to tell me there is a
problem
> > with the MS FTP server or that it behaves differently than other FTP
server
> > implementations.

Are the files perhaps larger then 2 Gigabyte? I have seen similar
behavior
with an older libcurl versions and the MS-FTP server. The application
passed a 64 bit filesize to CURLOPT_INFILESIZE (Which should be 32
bits). All
seems well but when curl checks the filesize at the end of the transfer,
it finds
an error and closes the connection. The closing of the command
connection
reaches the server before the last packets of the actual file transfer.
When the
command connection closes MS-FTP cleans up the file.

My $0.02,

Rob Lievaart
Received on 2007-10-30