proxy servers

For questions about Gambas web tools.
Post Reply
User avatar
sadams54
Posts: 139
Joined: Monday 9th July 2018 3:43am
Contact:

proxy servers

Post by sadams54 »

I need to connect to internet over a proxy server. I have the linux fedora environment set to work with the proxy server in the network settings. http, https, socks, ftp all set. however when I use gambas http component it does not work with the proxy. I am assuming I just do not know how to set it up. the component works fine but not when I try to connect with the anonymous proxy server. I see how to put in the host but not where to put in the port. I tried setting the port with "xxx.xxx.xxx.xxx:xxxx" but it still tries to just go direct over the connection and not use the proxy or the settings in fedora. It seems like gambas http component has it's own way of doing things. how do I make it pick up the proxy settings from fedora that everything else works with or tell the component to use a proxy?
User avatar
cogier
Site Admin
Posts: 1117
Joined: Wednesday 21st September 2016 2:22pm
Location: Guernsey, Channel Islands

Re: proxy servers

Post by cogier »

I am sorry that you have not received a reply to your post. I hoped that someone with more intelligence that me and understood your question would have given you some help (I had to Google 'Proxy Server' to find out what it was). However I thought that I might be able to point you in the right direction.
however when I use gambas http component it does not work with the proxy.
I cant find a Gambas http component?

I can find a gb.net.curl that includes a Proxy property.

Curl.Proxy (gb.net.curl)
Property Read Proxy As .Curl.Proxy
Returns a virtual object used for defining proxy parameters.

Does that help? If not please post some code. People are happy to help when they have something to work with.
User avatar
sadams54
Posts: 139
Joined: Monday 9th July 2018 3:43am
Contact:

Re: proxy servers

Post by sadams54 »

Not quite what I was looking for. the component is available if you add the gb.net.curl component under project properties. I believe they operate the same so what applies to one would apply to the other. However what I am asking is how to make it work with a proxy example. 123.123.123.123 on port 1234. what I have tried does not work.

Read above for what I tried if need be.
Post Reply