Re: [twsocket] FTP Server - Identify moment of Put file

2011-05-08 Thread Tomasz Maciejewski
Hi ! I promise that is the last question :) Synchronous function "Put" always return false, but file is succesfully transfered to server... I don't know why... Please, help :) Server Source FFtpServ := TFtpServer.Create(nil); FFtpServ.OnStorSessionClosed := OnAfterPut; FFtpServ.OnValidate

Re: [twsocket] FTP Server - Identify moment of Put file

2011-05-08 Thread Angus Robertson - Magenta Systems Ltd
> 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 s

Re: [twsocket] FTP Server - Identify moment of Put file

2011-05-08 Thread Tomasz Maciejewski
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 : >> Synchronous function "Pu