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" <twsocket@elists.org> Sent: Thursday, September 20, 2007 1:12 PM Subject: Re: [twsocket] FTP Server demo fails 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 form. Does the FTP Server rely on Windows messages at all for it's processing? 2. Are the events; OnValidxxxx called from the context of the main process or a background thread? Many thanks. David On 19/09/2007, Arno Garrels <[EMAIL PROTECTED]> wrote: > Francois PIETTE wrote: > >> Any ideas what's causing this? > > > > No idea. > > I'm also not able to reproduce this in V6 D2007, strange. > > -- > Arno Garrels [TeamICS] > http://www.overbyte.be/eng/overbyte/teamics.html > > > > >> I'm unable to trace into the Pascal source for some reason. > > > > Add the component source code to your application project. You'll be > > able to > > débug. > > > > -- > > [EMAIL PROTECTED] > > The author of the freeware multi-tier middleware MidWare > > The author of the freeware Internet Component Suite (ICS) > > http://www.overbyte.be > > > > > > ----- Original Message ----- > > From: "David Perkins" <[EMAIL PROTECTED]> > > To: <twsocket@elists.org> > > Sent: Wednesday, September 19, 2007 4:24 PM > > Subject: [twsocket] FTP Server demo fails > > > > > >> Hello > >> > >> I'm using the latest ICS and BCB2006 to test the ftp server demo. > >> When attempting to connect to the server from another PC using > >> filezilla it throws an exception in the OnAuthenticate event. I've > >> narrowed it down and here is what makes it go pop: > >> > >> void __fastcall TFtpServerForm::FtpServer1Authenticate(TObject > >> *Sender, TFtpCtrlSocket *Client, TFtpString &UserName, > >> TFtpString &Password, bool &Authenticated) > >> { > >> String s = UserName; <--------- Bang! > >> > >> > >> I'm unable to trace into the Pascal source for some reason. > >> > >> I'm connecting using passive mode. FTP component property values > >> are: > >> > >> object FtpServer1: TFtpServer > >> Addr = '0.0.0.0' > >> Port = '10021' > >> Banner = '220 ICS FTP Server ready' > >> UserData = 0 > >> MaxClients = 50 > >> PasvIpAddr = '192.168.1.10' > >> PasvPortRangeStart = 10050 > >> PasvPortRangeSize = 50 > >> Options = [] > >> > >> > >> Any ideas what's causing this? > >> > >> Thanks > >> > >> David > >> -- > >> To unsubscribe or change your settings for TWSocket mailing list > >> please goto http://www.elists.org/mailman/listinfo/twsocket > >> Visit our website at http://www.overbyte.be > -- > To unsubscribe or change your settings for TWSocket mailing list > please goto http://www.elists.org/mailman/listinfo/twsocket > Visit our website at http://www.overbyte.be > -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be