i'm getting a error on this peticular server (wodWebServer / wodWebServer.NET)
it's giving me a incompatible browser error is there a way i can fix that?
it's giving me a incompatible browser error is there a way i can fix that?
by wodDamir , (6538 days ago) @ fdjk sdjk
Hi,
Did you perhaps try setting User-Agent header?
Can you try setting it to Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727) ?
Can you load that site using an IE or firefox? I would suggest that you try opening it using IE, while using IEWatch in order to see what exactly is sent. That way you can mimic the same behaviour as a normal browser.
Hope I helped.
Regards,
Damba
by dsfsd , (6538 days ago) @ wodDamir
Hi,
Did you perhaps try setting User-Agent header?
Can you try setting it to Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727) ?
Can you load that site using an IE or firefox? I would suggest that you try opening it using IE, while using IEWatch in order to see what exactly is sent. That way you can mimic the same behaviour as a normal browser.
Hope I helped.
Regards,
Damba
yeah i tried that but i'm not sure how i would code it like that like i tried wod(0).useragent = blah but its giving me a invalid property error like saying that the property does not exist but i searched in project explorer and its there so perhaps you could show me how i would code it?
by wodDamir , (6537 days ago) @ dsfsd
Hi,
You should try something like this:
wodHttp1.Request.UserAgent = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)
or this:
wodHttp1.Request.Headers.Add User-Agent , Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)
Both should have the same result. Can you try those?
Regards,
Damba
by FDSJK , (6537 days ago) @ wodDamir
Hi,
You should try something like this:
wodHttp1.Request.UserAgent = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)
or this:
wodHttp1.Request.Headers.Add User-Agent , Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)
Both should have the same result. Can you try those?
Regards,
Damba
OK, now i did that but now i can't get it to submit the form...
[code] wod(0).Disconnect
wod(0).Request.Headers.Add User-Agent , Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)
wod(0).Blocking = True
wod(0).Get https://website.com/login.php
wod(0).Tag = user@user.com:pass
wod(0).URL = https://website.com/login.php
wod(0).Secure = ProtAll
wod(0).Request.FormPost.Add email , Split(wod(0).Tag, : )(0)
wod(0).Request.FormPost.Add pass , Split(wod(0).Tag, : )(0)
wod(0).Post https://website.com/login.php
[/code]
by wodDamir , (6537 days ago) @ FDSJK
Hi,
But what happens? What error do you get?
Can you be more specific? What response do you receive?
Regards,
Damba
by dsfdsfk , (6537 days ago) @ wodDamir
Hi,
But what happens? What error do you get?
Can you be more specific? What response do you receive?
Regards,
Damba
its not giving error its just showing the page source and it has the value of e-mail as emailiput@blah.com but the password it doesn't say anything i assume this is because the input is type: password but it is not submitting the data...like it sets the fields but when i do the post command its like it's not submitting the data...
by fjksdj fdsjk , (6537 days ago) @ dsfdsfk
Hi,
But what happens? What error do you get?
Can you be more specific? What response do you receive?
Regards,
Dambaits not giving error its just showing the page source and it has the value of e-mail as emailiput@blah.com but the password it doesn't say anything i assume this is because the input is type: password but it is not submitting the data...like it sets the fields but when i do the post command its like it's not submitting the data...
sorry for double post but i just looked at the data thats bein returned again it is also telling me to enable cookies.
by wodDamir , (6537 days ago) @ fjksdj fdsjk
Hi,
Can you please set AutoRedirect Property to true?
Also, regarding the cookies, I would suggest that you try with my previous suggestion (IEWatch/HttpLook) in order to see what cookies are passed, and try setting them in code.
You should check Response for cookies, and set the request accordingly. You can add a cookie into the collection the same way as you would add a Header item.
Regards,
Damba
by wodDamir , (6536 days ago) @ wodDamir
Hi,
Please try adding something like this in your code:
http1.Request.Headers.Add User-Agent , Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)
http1.Request.Cookies.Add test_cookie , 1
http1.Request.FormPost.Add email , your email
http1.Request.FormPost.Add pass , your password
http1.Request.FormPost.Add charset_test , â?¬Â´â?¬Â´ć°´Ä?Ä?
http1.Post your site
I believe this should get you to the redirection page. However, I would once again suggest that you try the HttpLook or IEWatch and watch what other browsers send. That way you can accomplish the same in wodHttpDLX.
Regards,
Damba
by sjks sdjk , (6535 days ago) @ wodDamir
Hi,
Please try adding something like this in your code:
http1.Request.Headers.Add User-Agent , Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)
http1.Request.Cookies.Add test_cookie , 1
http1.Request.FormPost.Add email , your email
http1.Request.FormPost.Add pass , your password
http1.Request.FormPost.Add charset_test , â?¬Â´â?¬Â´ć°´Ä?Ä?
http1.Post your siteI believe this should get you to the redirection page. However, I would once again suggest that you try the HttpLook or IEWatch and watch what other browsers send. That way you can accomplish the same in wodHttpDLX.
Regards,
Damba
yea that worked thank you
The people at WeOnlyDo are amazing! ... I always get a super fast response from customer service, and the products are great too. Thanks WeOnlyDo
...wodFtpDlx was exactly what I needed, it worked, and it was priced right...
...not only that you provide these components at very reasonable cost, your responsiveness to emailed technical questions is simply outstanding...
...not only that you provide these components at very reasonable cost, your responsiveness to emailed technical questions is simply outstanding...
The wodCrypt product is great and we appreciate your effort to add support for UNIX Crypt.
Your .NET components allow us to blend .NET technology seamlessly with secure communication, and with excellent technical support.
The SFTP ocx is one of the finest pieces of programming I have seen. It worked out of the box...
...wodFtpDlx was exactly what I needed, it worked, and it was priced right...
...with a minimum of effort as the DLL interface was written with such simplicity...
Your .NET components allow us to blend .NET technology seamlessly with secure communication, and with excellent technical support.