Dart Home | PowerTCP SSL for ActiveX | Custom Development | Reply | PowerTCP SSL for ActiveX Topics | Forums |
Author | Forum: PowerTCP SSL for ActiveX Topic: Connections trough an "HTTP" proxy. |
User73 Posts: 12 Member Since: 04/29/02 |
posted September 8, 2006 9:49 AM Hi, We are testing communications trough an "HTTP" proxy tryng to connect to your Secure Web Server sample program with the Secure Web Client and SSL Client sample programs. The clients were modified with the code: SecureTcp1.ProxyHost = "192.168.44.20" SecureTcp1.ProxyPort = "8080" SecureTcp1.ProxyType = ptNone The proxy is and HTTP proxy (Squid) working properly with Internet Explorer clients and other applications based on web services (Java). If we use ProxyType = ptNone then clients try to connect directly to the server (not going trough the proxy) and fails (web server is on the internet, not on our Intranet, so we get the comms timeout). If we use ProxyType = <one of the socks proxy types> the client try to find the proxy and then connect trough (I know squid is not a socks proxy, its only to see how it works if the proxy is socks verifying packets with ethereal). The question is, can we connect the clients with the server trough an "HTTP" proxy or not? With ethereal packets revission it seems that clients only go trough proxies if they are socks. Thanks in advance. Albert Bueno. |
Raj From: Rome, NY, USA Posts: 389 Member Since: 02/01/06 |
posted September 8, 2006 3:22 PM This going to be too complicated for the support forum. Please contact us at support@dart.com for further assistance. Regards, -Raj |
carstenschaefer From: Weilerbach, Germany Posts: 2 Member Since: 11/27/07 |
posted December 6, 2007 10:01 AM Hi there! We have squid too and we can not get the PowerFTP running: _FTPClient.Server = _ftpServer _FTPClient.Username = _ftpUser _FTPClient.Password = _ftpPassword _FTPClient.Proxy.Server = "192.168.77.4" _FTPClient.Proxy.ServerPort = 21 _FTPClient.Proxy.Type = FtpProxyType.HttpConnect _currentRemoteDir = _FTPClient.GetDirectory() Unfortunally this will not work. Testing the squid proxy using IE and Firefox whill show a running proxy. Please help! Regards Carsten Schaefer |
Amit From: Rome, NY USA Posts: 315 Member Since: 03/15/06 |
posted December 6, 2007 3:44 PM Hello Carsten, Are you getting any error or exception while using the code? If yes, then I would request you to please provide a description of the said error or exception. Have you configured the squid proxy so that it allows FTP communication? Best Regards, Amit |
carstenschaefer From: Weilerbach, Germany Posts: 2 Member Since: 11/27/07 |
posted December 7, 2007 3:43 AM Hi Amit! I found the error. The squid http_proxy configuration is set to port 3128. So I have to set it also in my code: _FTPClient.Proxy.ServerPort = 3128 Now everything works! I was a little confused while testing different types of proxy and therefor I haven't seen that mistake. Many thanks for your fast reply! Regards Carsten |
Amit From: Rome, NY USA Posts: 315 Member Since: 03/15/06 |
posted December 7, 2007 1:43 PM Hello Carsten, Thanks for updating us that the issue has been resolved. Do let me know if you require further assistance/clarifications. Have a nice day. Best Regards, Amit |
Reply | PowerTCP SSL for ActiveX Topics | Forums |
This site is powered by
![]() |