> I had not cleared the "HostFilename" parameter. So the DirAsync still > had this as a parameter.
This is deliberate, the FTP command 'LIST directory' is valid, but not totally reliable with all FTP servers, it can save a lot of path commands. 'LIST filename' is also how to check if a specific file exists. The XDMLSD command supported by the ICS web server is the most efficient way of getting all directories in a single command. 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