Hi, i am using WebClient.Uploa dFile to upload a file on my web page, code:
i get an error "The remote server returned an error: (404) FIle not found"
my web page is http://www.etfos.hr/~dhuis
permissions are all enabled
i tried with httpwebrequest class and i get the same error
i can upload with ftpwebrequest but then it is slow.
Any suggestions?
Code:
WebClient webClient = new WebClient();
webClient.Credentials = new NetworkCredential(userName, pass);
webClient.UploadFile("http://www.etfos.hr/~dhuis/test.txt", @"c:\test.txt");
my web page is http://www.etfos.hr/~dhuis
permissions are all enabled
i tried with httpwebrequest class and i get the same error
i can upload with ftpwebrequest but then it is slow.
Any suggestions?
Comment