I'm not certain how the PWD will intercat with this method, but have you tried the WinAPI URLDownloadToFile?
As far as populating the uname and pwd, it should be possible to determine the Windows Handle of the new popup, capture it and automate it using teh Internet Explorer Object Model Library. However, this method is tricky, and time consuming to get right. If I remember correctly, you;ll need about a half-dozen different API calls to get it right. Alternatively, you may be able to make the SendKeys Function work, though it tends to be quite unreliable, in my experience.Code:Private Declare Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" _ (ByVal pCaller As Long, _ ByVal szURL As String, _ ByVal szFileName As String, _ ByVal dwReserved As Long, _ ByVal lpfnCB As Long) As Long