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

2011-05-08 Thread Tomasz Maciejewski
: *Subject:* Re: [twsocket] FTP Server - Identify moment of Put file *From:* Tomasz Maciejewski macie...@gmail.com *To:* ICS support mailing twsocket@elists.org *Date:* Fri, 6 May 2011 12:46:06 +0200 Is possible to send file from server to client without request from client ? Not really

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

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 an...@magsys.co.uk:

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

2011-05-06 Thread Angus Robertson - Magenta Systems Ltd
How to identify moment of uploaded file ? I'd like to do some operations on file, which come from client OnStorSessionClosed triggers when PUT finishes, you need to check AError to see if it worked, then the Client parameter gives you access to the file details, ie Client.FilePath,

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

2011-05-06 Thread Tomasz Maciejewski
Many thanks ! It's working. I have one more question: Is possible to send file from server to client without request from client ? 2011/5/6 Angus Robertson - Magenta Systems Ltd an...@magsys.co.uk: How to identify moment of uploaded file ? I'd like to do some operations on file, which come

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

2011-05-06 Thread Angus Robertson - Magenta Systems Ltd
*Subject:* Re: [twsocket] FTP Server - Identify moment of Put file *From:* Tomasz Maciejewski macie...@gmail.com *To:* ICS support mailing twsocket@elists.org *Date:* Fri, 6 May 2011 12:46:06 +0200 Is possible to send file from server to client without request from client ? Not really