> I am attempting to transfer and process a lot of files via a memory > stream. Conventional FTP seems to take about 200mS per transfer. > Possibly due to the opening and closing of the data socket for each > transfer.
This speed is as expected, the port for each data socket has to be negotiated, then the TCP stream opened. The same speed issue occurs listing files in multiple directories, it can take several minutes to parse a complex directory structure one at a time. It's why the ICS FTP client and server have new FTP directory commands, XCMLSD which lists directories using the control channel, and XDMLSD which combines multiple directory listings into a single download. Do you have a specification for this UNIX server that sends data files on the control connection, or a command log? Angus -- 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