Interesting, but I suspect it is related to your packet driver setup.
On my 386-40 I get the following:
2015 code: 526.3 KB/sec sending and 543.6 KB/sec receiving
2020 code: 464.5 KB/sec sending and 485.2 KB/sec receiving
(All tests are with a 16K TCP buffer and a 16K file buffer)
So it is slower, but I think I know the problem - I moved from direct screen writes for the progress indicator to BIOS calls. I'll confirm that later by removing the file progress indicator.
The raw TCP/IP socket performance is:
2015 code: 690.9KB/sec sending, 957.0KB/sec receiving
2020 code: 702.0KB/sec sending, 1001.8KB/sec receiving
So the libraries are about equivalent; it's the file I/O or screen writes that care causing the slowdown in the FTP client.
For your specific machine - Can you send me a debug trace? Before you run an FTP transfer that you know is going to be slow:
- SET LOGFILE=FTPTRACE.LOG
- SET DEBUGGING=1
That should give me the warning messages only, which won't slow things down. If I need more details after seeing that I'll let you know.
Mike