upload file to the server c# win form
C#
1
Posts
1
Posters
0
Views
1
Watching
-
hi to all, how can i upload a file from my client(computer) to the server ? i tried the code below but it gives this error : "Remote server returned an error (405) : Method not allowed". WebClient oWebClient = new WebClient(); oWebClient.UploadFile("http://srvdev/philae\_edition/TestCompta.txt", "c:\temp\TestCompta.txt"); oWebClient = null; any ideas ? best regards and thanks in advance fady