Internet Explorer syntax: Opening password-protected URL from command-line...

Ichinisan

Lifer
Oct 9, 2002
28,298
1,235
136
I am going through a list of many files and downloading each one individually from an HTML server. Each time, a prompt appears asking for my username/password. I need to know how to open each URL from the command line with the name/password already specified.

I have already tried the following, which does not work:
iexplore.exe html://username:password@doman-or-ip-address/filename.ext

The "remember password" option from the prompt does not work because a new process is created each time my command is executed.
 

awal

Senior member
Oct 13, 1999
953
0
0
Originally posted by: Ichinisan
I am going through a list of many files and downloading each one individually from an HTML server. Each time, a prompt appears asking for my username/password. I need to know how to open each URL from the command line with the name/password already specified.

I have already tried the following, which does not work:
iexplore.exe html://username:password@doman-or-ip-address/filename.ext

The "remember password" option from the prompt does not work because a new process is created each time my command is executed.

did you try this?
iexplore.exe http://username:password@doman-or-ip-address/filename.ext

i have done this in the past and it works for me...
 

Ichinisan

Lifer
Oct 9, 2002
28,298
1,235
136
That's exactly what I had posted earlier...it does not work except with FTP sites...(different protocol)
 

Buddha Bart

Diamond Member
Oct 11, 1999
3,064
0
0
you're just interested in downloading the file? not showing it in IE?

If so it sounds like "wget" is what you need. Traditionally its a *nix tool, but there are windows versions. Check out here and do a google search for "wget for windows"

bart
 

oLLie

Diamond Member
Jan 15, 2001
5,203
1
0
Originally posted by: Ichinisan
That's exactly what I had posted earlier...it does not work except with FTP sites...(different protocol)

Actually you typed html:// and he typed http://
 

Ichinisan

Lifer
Oct 9, 2002
28,298
1,235
136
My mistake...(By the way, using the correct syntax doesn't work with the specific site)