Re: [twsocket] MagFtp and SslContext

2013-04-16 Thread Allan Fernandes
That is a huge relief. Thank You. On Wed, Apr 17, 2013 at 12:10 PM, Angus Robertson - Magenta Systems Ltd < an...@magsys.co.uk> wrote: > > I do not have much knowledge about SSL but I presume SSL > > certificates are required if my client decides to use a FTPS site. > > No, it is not necessary

Re: [twsocket] i using the THttpAppSrv in my app

2013-04-16 Thread Angus Robertson - Magenta Systems Ltd
> i using WbemScripting_TLB.pas, also the uWmiDelphiClass.pas (from > the google code). which just the oleobject. Try using MagWmiGetInfoEx from: http://www.magsys.co.uk/delphi/magwmi.asp it should not take long to modify your application and will eliminate possible problems with the code you f

Re: [twsocket] MagFtp and SslContext

2013-04-16 Thread Angus Robertson - Magenta Systems Ltd
> I do not have much knowledge about SSL but I presume SSL > certificates are required if my client decides to use a FTPS site. No, it is not necessary for client software to check SSL certificates to use SSL connections, the data is still encrypted. Checking the certificate is an extra level

Re: [twsocket] MagFtp and SslContext

2013-04-16 Thread Allan Fernandes
Hi Angus, My application is a LAN backup application and users want to use FTP to additionally secure their data. I do not have much knowledge about SSL but I presume SSL certificates are required if my client decides to use a FTPS site. Can you guide me, I did not fully understand you above email

Re: [twsocket] i using the THttpAppSrv in my app

2013-04-16 Thread myiisvif
the request only can be added to the AddGetHandler proc. and it can not using the MASK. eg: myweb.AddGetHandler('/*.asp',tasp_proc); can be?? that is why i will use the Tsrv_myapp.mywebGetDocument proc. because it can be hold everything. btw,.AddGetHandler is a thread work mode?? myiis

Re: [twsocket] i using the THttpAppSrv in my app

2013-04-16 Thread myiisvif
thank Angus Robertson! yes, i using WbemScripting_TLB.pas, also the uWmiDelphiClass.pas (from the google code). which just the oleobject. in them, i just get this iis's filter status and iis's filter name. and return them to my webclient. myiisvif From: Angus Robertson - Magenta System

Re: [twsocket] i using the THttpAppSrv in my app

2013-04-16 Thread François Piette
> i found if i call the wmi ole object to get wmi data,THttpAppSrv will hung and lose the 80 connection. >procedure Tsrv_myapp.mywebGetDocument(Sender, Client: TObject; > var Flags: THttpGetFlag); >the call the wmi object... >for just two or three times. >why? bug? I'm not sure I und

Re: [twsocket] i using the THttpAppSrv in my app

2013-04-16 Thread Angus Robertson - Magenta Systems Ltd
> i found if i call the wmi ole object to get wmi data,THttpAppSrv > will hung and lose the 80 connection. Calling WMI functions presumably to return information on a web page is unlikely to something many people have done, I've certainly not. Are you using MagWmiGetInfoEx or some other WMI co

[twsocket] i using the THttpAppSrv in my app

2013-04-16 Thread myiisvif
i found if i call the wmi ole object to get wmi data,THttpAppSrv will hung and lose the 80 connection. procedure Tsrv_myapp.mywebGetDocument(Sender, Client: TObject; var Flags: THttpGetFlag); the call the wmi object... for just two or three times. why? bug? myiisvif -- To u

Re: [twsocket] check if given ip is in any of connected subnets

2013-04-16 Thread Angus Robertson - Magenta Systems Ltd
> I'm trying to figure out if a given ip address is in any of the > subnets I'm connected to > I assume I need to iterate through all connected NICS, and > calculate the size and location of that specific subnet using the > ip and netmask for that connection, and then see if given ip > address f

[twsocket] check if given ip is in any of connected subnets

2013-04-16 Thread Merijn Bosma
Hi all, I'm trying to figure out if a given ip address is in any of the subnets I'm connected to. Normally I use the searchable ICS mailing list archive (http://marc.theaimsgroup.com/?l=midware) as a starting point, but unfortunately it's down at the moment. I assume I need to iterate throug

Re: [twsocket] MagFtp and SslContext

2013-04-16 Thread Angus Robertson - Magenta Systems Ltd
> How do I specify Ssl Certificates in MagFtp component ? Sorry, certificate chain and host checking was never fully implementing in TMagFtp. There is a lot of commented out code, probably taken from the ICS FTP client SSL demo, that could be restored, but it's untested, and includes a modal dial