LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Entering a user name and password using Internet toolkit

Some sites will pop up a gui that prompts for a user name and password. Is there a way to enter this information with internet toolkit? Or is there another way of entering this with a Win API call
0 Kudos
Message 1 of 2
(3,016 Views)
D.J.,

The best way to enter the password information for a web page is to include the username and password in the URL that is requesting the page. An example of embedding the password information in a URL is as follows:

http:\\username:password@www.ni.com\dummypage.html

The internet toolkit provides the VI, Build URL, to create this correctly formatted URL with password support. It is also possible to create this URL manually and use data socket to retrieve the page. Please see the KnowledgeBase linked below for more information on how to accomplish this.

How Do I Download a Text File from a Password Protected URL Using DataSocket Read?

Regar
ds,

Matt Friedman
National Instruments
0 Kudos
Message 2 of 2
(3,016 Views)