zayin wrote: > Hello, > > I am using TFtpClient, version 7.12 to transfer a single file. The > elapsed time is over 4 1/2 minutes. When I transfer the same single > file with FileZilla the elapsed time is 2 1/2 minutes.
My test: ICS 7.3 MB/s and FileZilla 12.0 MB/s in a 100 Mbit LAN. After I set DataSocket's winsock send and receive buffer size to 32768 (default 8192) speed notably increased to 11.4. I uploaded this changed OverbyteIcsFtpCli.pas here: http://www.duodata.de/misc/delphi/ics/OverbyteIcsFtpCli.zip Note that it requires current ICSv7 available for download here: http://wiki.overbyte.be/wiki/index.php/ICS_Download Please let me know how it works for you, does it slow down performance when you have plenty of small files to transfer? Maybe we should make these settings a property? Currently I hardcoded them in the component. Also making sure that DataSocket.BufSize (default 1460) doesn't exceed the maximum MTU might give you some more KB/s. In my LAN all PCs are configured to use a MTU of 1452 for best performance with our DSL internet connection and setting that value as DataSocket.BufSize gave me another 0.4 MB/s. With these settings it's as fast as with blocking sockets -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be