> Synchronous function "Put" always return false, but file is > succesfully transfered to server... > I don't know why... Please, help :)
I assume you are now referring to the FTP client software. You need to check StatusCode for the FTP server response code, 200 for OK, with the full textual server response in LastResponse. RequestResult is non-zero when the request completes, but may be a non-FTP error such as file not found or DNS failure. The return code of Put (and the other sync methods) is whether RequestResult is non-zero, ie the request started OK, not that it succeeded OK. For the FTP client side, you can use my TMagFTP component, that hides most of this stuff from you, allowing transfer of multiple files and subdirectories with a single function call. http://www.magsys.co.uk/delphi/magxfer.asp 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