I need to programmatically connect to and upload/download
files to the MapPoint Extranet:

https://mappoint-
wf.partners.extranet.microsoft.com/mappointweb/1591

I can do it manually by surfing to the above site and
typing in my userid and password. Once logged in, I get
an Explorer interface into which I can drag and drop
files, and grab them back.

I have tried to do this in code using the following:

Dim myClient As WebClient = New WebClient()
Dim myCredentials As New NetworkCredential()
myCredentials.UserName = "userid"
myCredentials.Password = "password"
myCredentials.Domain = "partners"
myClient.Credentials = myCredentials

Dim response As Stream = myClient.OpenRead
("https://mappoint-
wf.partners.extranet.microsoft.com/mappointweb/1591")

The final line fails with an exception (unable to create
trusted connection).

Anyone have any thoughts?

.............owen