CurlPlugin question

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

CurlPlugin question

Denis Kudriashov
Hello

I try CurlPlugin. And I cant set up ntlm proxy authentication
I do:

с := Curl new.
c proxy: '172.123.1.1:3212'.
c onProxyAuthNtlm.
c proxyUserPwd: 'domain\user:pass'.
c getContentUrl: 'http:\\www.google.com'.

But it's raied error: Cant connect server.

Plugin work good when there are no network proxy.

What I do wrong?

Best regards,
Denis


Reply | Threaded
Open this post in threaded view
|

Re: CurlPlugin question

George Herolyants-3
Have you copied this code from your workspace? I'm asking because of this:
'http:\\www.google.com'
while it should be:
'http://www.google.com'

I'm not at all a network guru, but if I understand correctly in case
you use a proxy it is responsible for the resolving of domain name.
So, if you write url with backslashes instead of forward slashes, your
proxy might not resolve it. But I may be wrong here.

2010/9/16 Denis Kudriashov <[hidden email]>:

> Hello
>
> I try CurlPlugin. And I cant set up ntlm proxy authentication
> I do:
>
> с := Curl new.
> c proxy: '172.123.1.1:3212'.
> c onProxyAuthNtlm.
> c proxyUserPwd: 'domain\user:pass'.
> c getContentUrl: 'http:\\www.google.com'.
>
> But it's raied error: Cant connect server.
>
> Plugin work good when there are no network proxy.
>
> What I do wrong?
>
> Best regards,
> Denis
>
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: CurlPlugin question

Denis Kudriashov
Hello,

With last libcurl.dll version all work good.

16 сентября 2010 г. 20:11 пользователь George Herolyants <[hidden email]> написал:
Have you copied this code from your workspace? I'm asking because of this:
'http:\\www.google.com'
while it should be:
'http://www.google.com'

I'm not at all a network guru, but if I understand correctly in case
you use a proxy it is responsible for the resolving of domain name.
So, if you write url with backslashes instead of forward slashes, your
proxy might not resolve it. But I may be wrong here.

2010/9/16 Denis Kudriashov <[hidden email]>:
> Hello
>
> I try CurlPlugin. And I cant set up ntlm proxy authentication
> I do:
>
> с := Curl new.
> c proxy: '172.123.1.1:3212'.
> c onProxyAuthNtlm.
> c proxyUserPwd: 'domain\user:pass'.
> c getContentUrl: 'http:\\www.google.com'.
>
> But it's raied error: Cant connect server.
>
> Plugin work good when there are no network proxy.
>
> What I do wrong?
>
> Best regards,
> Denis
>
>
>
>