2009-12-05 15:13:09 UTC
My app needs to download files from an ftp server. I've been using wininet
apis with no problems for a year or so. Recently I've run into a problem on
one of the machines. The app is unable to download large files. It always
times out on the last block. For example, if the file is ~300MB then the
wininet apis will timeout on the last 3-4K.
I tried FtpGetFile() and FtpOpenFile()/InternetReadFile() and got the same
The command line ftp works fine with the same file/server so the problem
must be in wininet.
I'm afraid that this problem might come up on other new installs.
Is wininet the only option for C/C++? I noticed that most of the posts
about wininet on the Net are 5 or more years old. The
win32.programmer.networks group is almost dead too. What would be the
recommended api for ftp nowadays?
Any active newsgroups/blogs that deal with the subject?
I'd appreciate _any_ suggestions.