thanks for the explain.
After Put, I checked LastResponse property and always has value "'150
Opening data connection for ...." Also property Connected is setted to
False.

If I can not fix it, then I'll use Your pack :)


2011/5/8 Angus Robertson - Magenta Systems Ltd <an...@magsys.co.uk>:
>> 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
>
--
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

Reply via email to