Re: [twsocket] FTP Server example
Hello Francois, many thanks. I'll have look. -- regards David Thursday, February 11, 2010, 4:00:36 PM, you wrote: >> Many thanks. Is there anything specific to running this component in a >> thread I need to be aware of (I'm aware of general thread principles) FP> Make sure your thread has a message pump otherwise no event will be handled. FP> Have a look at OverbyteIcssDll1.dpr sample project. It is a DLL using a FP> thread to run ICS component. The thread part is just the same being in a DLL FP> or EXE. FP> -- FP> francois.pie...@overbyte.be FP> The author of the freeware multi-tier middleware MidWare FP> The author of the freeware Internet Component Suite (ICS) FP> http://www.overbyte.be FP> -- FP> To unsubscribe or change your settings for TWSocket mailing list FP> please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket FP> Visit our website at http://www.overbyte.be David Rose Navigator Systems Ltd, Network Business Centre, 3 Gloucester Street, Bath, BA1 2SE,UK Main Tel: +44 (0)207 183 0011 Fax: +44 (0)1225 464984 Company Email: da...@navigator.co.uk (Private e-mail on request) CONFIDENTIALITY NOTICE The contents of this e-mail are confidential to the ordinary user of the e-mail address to which it was addressed and may also be privileged. If you are not the addressee of this e-mail you may not copy, forward, disclose or otherwise use it or any part of it in any form whatsoever. If you have received this e-mail in error please e-mail the sender by replying to this message. -- 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
Re: [twsocket] FTP Server example
Many thanks. Is there anything specific to running this component in a thread I need to be aware of (I'm aware of general thread principles) Make sure your thread has a message pump otherwise no event will be handled. Have a look at OverbyteIcssDll1.dpr sample project. It is a DLL using a thread to run ICS component. The thread part is just the same being in a DLL or EXE. -- francois.pie...@overbyte.be The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be -- 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
Re: [twsocket] FTP Server example
> Many thanks. Is there anything specific to running this component > in a thread I need to be aware of (I'm aware of general thread > principles) I've not used a thread for a server myself, but it's purely event driven so should be straight forward. Just don't try updating visual components or log files in the main thread, except via Windows messages or a similar technology. 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
Re: [twsocket] FTP Server example
Hello Angus, Many thanks. Is there anything specific to running this component in a thread I need to be aware of (I'm aware of general thread principles) ARMSL> Unless you expect a performance issue, it's probably not worth the ARMSL> trouble. I think you're right. I won't do anything about it until it turns out to be a problem. Though I'll make sure I know what I need to do IYSWIM. -- regards David Thursday, February 11, 2010, 11:59:00 AM, you wrote: >> Can I create a thread and instantiate the FTPserver component >> within that thread ? Will this help ? ARMSL> Yes, you can create the FTP server within a thread, but there are ARMSL> currently no ICS demos doing so. ARMSL> Unless you expect a performance issue, it's probably not worth the ARMSL> trouble. ARMSL> Angus ARMSL> -- ARMSL> To unsubscribe or change your settings for TWSocket mailing list ARMSL> please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket ARMSL> Visit our website at http://www.overbyte.be David Rose Navigator Systems Ltd, Network Business Centre, 3 Gloucester Street, Bath, BA1 2SE,UK Main Tel: +44 (0)207 183 0011 Fax: +44 (0)1225 464984 Company Email: da...@navigator.co.uk (Private e-mail on request) CONFIDENTIALITY NOTICE The contents of this e-mail are confidential to the ordinary user of the e-mail address to which it was addressed and may also be privileged. If you are not the addressee of this e-mail you may not copy, forward, disclose or otherwise use it or any part of it in any form whatsoever. If you have received this e-mail in error please e-mail the sender by replying to this message. -- 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
Re: [twsocket] FTP Server example
> Can I create a thread and instantiate the FTPserver component > within that thread ? Will this help ? Yes, you can create the FTP server within a thread, but there are currently no ICS demos doing so. Unless you expect a performance issue, it's probably not worth the trouble. 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
Re: [twsocket] FTP Server example
David Rose wrote: > Can I create a thread and instantiate the FTPserver component within > that thread ? Will this help ? Yes! -- Arno Garrels -- 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
Re: [twsocket] FTP Server example
Hello Angus, ARMSL> If by exe you mean the same project and executable file, and you are not ARMSL> already using threads, then the two applications are totally related, ARMSL> only one will be running at a time. Yes, one delphi project producing one exe. ARMSL> Again you don't actually say what you mean by 'database' , most people ARMSL> would assume this means a database server engine like MS SQL, MySQL or ARMSL> DB2 which you won't be compiling into your own executable. But maybe you ARMSL> have a lightweight internal database or some non-SQL engine? I'm talking about building the FTP server functionality into a compiled NexusDB database server. So the server engine (which in itself is already multithreaded) will contain the FTPServer component. Can I create a thread and instantiate the FTPserver component within that thread ? Will this help ? Many thanks for your answers so far. David David Rose Navigator Systems Ltd, Network Business Centre, 3 Gloucester Street, Bath, BA1 2SE,UK Main Tel: +44 (0)207 183 0011 Fax: +44 (0)1225 464984 Company Email: da...@navigator.co.uk (Private e-mail on request) CONFIDENTIALITY NOTICE The contents of this e-mail are confidential to the ordinary user of the e-mail address to which it was addressed and may also be privileged. If you are not the addressee of this e-mail you may not copy, forward, disclose or otherwise use it or any part of it in any form whatsoever. If you have received this e-mail in error please e-mail the sender by replying to this message. -- 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
[twsocket] TSmtpCli V7 file attachments unreadable with Blackberry?
Hi, One of my clients reports that he cannot open a PDF attachment on his Blackberry. I cannot test it myself and do not know how the Blackberry mobile device handles e-mail. "it seems to append a quotation mark - ' before the file name making the PDF unreadable when viewed on our Blackberry mobile device." He's able to open it on a PC with Outlook and the gmail webinterface fine. When he sends the same file via Outlook no problem as well. Has anybody noticed something similar? Is somebody listening who owns a Blackberry and was so kind to do little test? -- Arno Garrels -- 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