> *Subject:* Re: [twsocket] FTP Server - Identify moment of Put file > *From:* Tomasz Maciejewski <macie...@gmail.com> > *To:* ICS support mailing <email@example.com> > *Date:* Fri, 6 May 2011 12:46:06 +0200 > Is possible to send file from server to > client without request from client ?
Not really, the FTP server only ever responds to commands from clients, it has no concept of running commands on it's own. In theory, if the client keeps a control connection open and sends a 'please wait' command, the server could pause for an event and send a custom response to the client to allow the client to start a download. But this would need custom commands in client and server. Assuming this is some private application, the easier solution is for the client PC to have a small custom server running, even UDP which is very easy, and for the main server to use a simple protocol to sends commands to the client, which then triggers the FTP download. I did this a few years ago to get 500 remote PCs to download new files on demand. 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