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
, (6599 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
, (6598 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
, (6598 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
, (6598 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
, (6598 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
, (6598 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
, (6598 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
, (6598 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
, (6597 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
, (6596 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

...what I really like is that wodSSH and wodSFTP components work excellently and are constantly being improved...

We have recently completed a large 1200+ location project where reliable Telnet and SSH connectivity was required. wodSSH worked flawlessly and allowed our staff to complete our project ontime and within budget.

I can only hope I will have the pleasure to work with other products by "We Only Do" in the future.

Your professionalism is reflected into your email, your product and your web site. I am confident that these will make the difference.

The wodCrypt product is great and we appreciate your effort to add support for UNIX Crypt.

Not only wodSFTPdll is excellent, the service you have provided is outstanding and second to none!

...with the SFTP interface you produced, everything was so simple to understand, we were able to start coding almost immediately!

...with a minimum of effort as the DLL interface was written with such simplicity...

Congratulations on an excellent product and first rate support!

...wodFtpDlx was exactly what I needed, it worked, and it was priced right...

