Re: [twsocket] FTP Server - detecting when a new file has been uploaded

2007-09-20 Thread Arno Garrels
David Perkins wrote: > I'm using ICS v5 to create an FTP server and wondered what is the > preferred method of detecting when a new file has been uploaded? From > what I can see, it's a combination of using OnValidatePut and > OnStorSessionClosed. I think that are the right places, however the log

[twsocket] FTP Server - detecting when a new file has been uploaded

2007-09-20 Thread David Perkins
Hello I'm using ICS v5 to create an FTP server and wondered what is the preferred method of detecting when a new file has been uploaded? From what I can see, it's a combination of using OnValidatePut and OnStorSessionClosed. Thanks David -- To unsubscribe or change your settings for TWSocket ma

Re: [twsocket] FTP Server demo fails

2007-09-20 Thread Arno Garrels
David Perkins wrote: > Thank you Francois. > > What's the state of v6, are people using it in production apps? Yes, only there are probably still a few small bugs with native BCB packages in current V6 download, I can post the fixes here if you want. > Has > v6 changed the requirement for a NOF

Re: [twsocket] FTP Server demo fails

2007-09-20 Thread David Perkins
Thank you Francois. What's the state of v6, are people using it in production apps? Has v6 changed the requirement for a NOFORMS message pump at all? On 20/09/2007, Francois Piette <[EMAIL PROTECTED]> wrote: > > But am I corret in thinking it is only defined when I > > recompile the ICS compone

Re: [twsocket] FTP Server demo fails

2007-09-20 Thread Francois Piette
> You need to define in BOTH the package and the app. The package is only needed when it is used as a runtime package. Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier fram

Re: [twsocket] FTP Server demo fails

2007-09-20 Thread Francois Piette
> But am I corret in thinking it is only defined when I > recompile the ICS components and not in my app itself? Wrong. Define NOFORMS in /your/ application project. >> Correct, that won't work of course. In your ThreadProc create the component >> and call GetMessage(), TranslateMessage() and Dis

Re: [twsocket] FTP Server demo fails

2007-09-20 Thread Fastream Technologies
Hello, You need to define in BOTH the package and the app. You need to call GetMessage when NOFORMS is defined. Regards, SZ - Original Message - From: "David Perkins" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Thursday, September 20, 2007 2:30 PM Subject: Re: [twsocket] FTP

Re: [twsocket] FTP Server demo fails

2007-09-20 Thread David Perkins
> > OK, I will compile ICS with NOFORMS defined, I presume that's where it > > goes rather that being defined in my app. > > In Delphi it's defined in the project options, I'm not very familar with > BCB, sorry. But am I corret in thinking it is only defined when I recompile the ICS components and

Re: [twsocket] FTP Server demo fails

2007-09-20 Thread Arno Garrels
David Perkins wrote: > Thanks for that Arno. > > OK, I will compile ICS with NOFORMS defined, I presume that's where it > goes rather that being defined in my app. In Delphi it's defined in the project options, I'm not very familar with BCB, sorry. > > Since this is going to go in a thread wit

Re: [twsocket] FTP Server demo fails

2007-09-20 Thread David Perkins
Thanks for that Arno. OK, I will compile ICS with NOFORMS defined, I presume that's where it goes rather that being defined in my app. Since this is going to go in a thread within a service app, I had intended to create my thread, create and start the ftp server and then block (WaitForMultipleObj

Re: [twsocket] FTP Server demo fails

2007-09-20 Thread Arno Garrels
David Perkins wrote: > 1. I plan on using the FTP server in a Service app with no main form. > Does the FTP Server rely on Windows messages at all for it's > processing? Yes, like any other ICS component as well. Note that the ICS components create one or more hidden windows in order to receive

Re: [twsocket] FTP Server demo fails

2007-09-20 Thread David Perkins
> 1. You need to define NOFORMS in package and project options for this. Thanks. Can I clarify please: Do I define NOFORMS in the ICS package and then recompile, or just in my project? -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/l

Re: [twsocket] FTP Server demo fails

2007-09-20 Thread Fastream Technologies
Hello, 1. You need to define NOFORMS in package and project options for this. 2. There is single thread in standard ICS demo. (async). Regards, SZ - Original Message - From: "David Perkins" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Thursday, September 20, 2007 1:12 PM Subje

Re: [twsocket] FTP Server demo fails

2007-09-20 Thread David Perkins
It seems to work OK now. Previously I compiled it in the Delphi personality and told it to create the BCB libs. When I recompiled using the BCB specific project, the test app works OK. A couple more questions if you wouldn't mind: 1. I plan on using the FTP server in a Service app with no main