comment télécharger un document sur le net ?
bonjour tout le monde,
j'aimerais réaliser un téléchargement à partir de c# mais je suis bloqué ><
voici mon code :
Code:
1 2 3 4 5
|
string fichierBulletin = Application.StartupPath + "\\bulletin-meteo.xml";
WebClient Client = new WebClient();
url = "http://xoap.weather.com/weather/local/" + codeVilleDefaut + "?cc=*&dayf=3&prod=xoap&unit=c&par=xxxxxxxxx&key=xxxxxxxxxxxxx";
Client.UploadFile(url, fichierBulletin); |
pourriez-vous me dire comment je pourrais résoudre mon problême svp ?
je n'arrive pas à avancer :s