Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting files through http
Message
 
À
31/05/2006 21:04:51
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01126360
Message ID:
01126416
Vues:
15
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform