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

[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

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 falls

[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

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

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

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

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??

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