Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting files through http
Message
 
To
31/05/2006 21:04:51
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01126360
Message ID:
01126416
Views:
18
See an article I wrote in UTMag in March 2004 (http://www.utmag.com/wconnect/wc.dll?LevelExtreme~9,7,10,,605) that retrieves images from the Web.

>Hi everybody!
>
>Yeah, I'm alive. Just been really busy lately. That's why I haven't been around much. :)
>
>I have a question here. In VFP, I used to get files through http using some code like this:
>
>
>loHttp = CREATEOBJECT("msxml2.xmlhttp.4.0")
>loHttp.open("GET", "http:\\SomeServer\SomeFile.zip")
>loHttp.send()
>STRTOFILE(loHttp.responseBody, "c:\SomeFile.zip")
>
>
>How can I accomplish that kind of thing in .NET?
>
>Another thing that I also have to do is to programmatically authenticate on the server. When I manually navigate to the file, I must provide username/password. How do I do that programmatically?
>
>TIA
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform