Probleme 405 WebClient UpLoadFile
Bonjour
J'ai utilisé un WebClient DownLoadFile sans difficulté mais pour l'operation inverse je n'y arrive pas
Code:
1 2 3
| src=@"http://geo.wm-tracking.com/geo/test/pdata/MainSettings.xml";
dest=@"d:/projets/punch/fleet-integrator/output/resogb/MainSettings.xml";
wc.UploadFile(src, dest); |
Citation:
The remote server returned an error: (405) Method Not Allowed.
Bien entendu l'adresse http de l'exemple est bidon mais en runtime j'utilise celle qui fonctionne bien pour le DownLoad
J'ai loupé qq chose ?
Merci de votre aide