Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm looking for a way to be able to download the contents of a particular url that's protected behind Integrated Windows authentication from a computer that is a member of the domain, using the computer's domain account credentials.

From what I can see, if I browse to the file from internet explorer, I'm automatically 'logged in' with my current domain account, and receive the file back. Is there a way of carrying out the same process from a script and saving the contents to disk?

My initial thought was wget for windows, but looking closer led me to believe that while it supported NTLM auth, you had to put the credentials in as arguments which is something I want to avoid. Ideally, I'd like a command-line version of IE where I can just provide the url and the destination and have it use the executing process's domain account to automatically log in and download the file.

Is such a thing possible?

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.