I tried to set the Username and Password field in my HttpCli component when
accessing password protected IP camera without any success. I always get 401
error. But in IE I can enter the same user name and password in the pop=up
window to access. I am wondering whether I did anything wrong. My code is:

HttpCli1->Username="xxxx";

HttpCli1->Password="xxxx";

HttpCli1->URL+"192.168.1.98/image.hpg";

HttpCli1->Get();

 

Any help is appreciated! Thanks in advance.

-WAng

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to