
06-27-2001, 10:27 AM
|
|
|
FTP Throughput
|
I have a program that does FTP and measures the speed it takes to download or upload a file. If you do an FTP manually using DOS, the throughput is about 2.5 Kbytes/sec faster than Visual Basic to transfer a file.
So far I have tried PDQComm Internet Toolpak (an old version), MS Internet Transfer Control and tried using API commands to acess WinInet.Dll. All methods were about 2.5K slower than DOS and I think PDQComm and the Internet Transfer Control use Wininet.dll.
The current program calls a batch file from Visual Basic to run the DOS commands, but I prefer to get this to run correctly in Visual Basic.
Does anybody know of a Visual Basic control or have sample code where the FTP transfer runs as fast as DOS?
|
|