From: raviviswanathan.81 on
Hello,

I was building a simple FTP client using the CInternetSession class
and the GetFtpConnection() which returns a pointer to the
FTPConnection object. I was doing this in synchronous mode. No
callbacks etc. I then use the PutFile() to upload a file.

I was able to upload a file without any problems. But the tranfer rate
was extremely poor. By poor, it's less than 20% of the speed that I
get using the command-line FTP in Windows.
The TcpWindowSize in the registry setting is at 1MB. The client and
the server here are on Win2003. I am using IIS on the server.

Is there any setting that MFC initializes to default which explains
why my speed is poor compared to the command-line FTP?
I can't see any new parameters I can pass if I use the non-MFC WinInet
functions also...

Please advise!
Thanks