I have a very simply code of:
WebClient webClient = new WebClient();
webClient.DownloadFile(privateHTML, @"\\192.168.0.12\imagedepot\AT" + carID + ".jpeg");
However, i get the error:
Access to the path '\\192.168.0.12\imagedepot\AT296866482.jpeg' is denied.
I can browse this folder from my machine (same one this app runs on), right click and create new text file. The target is a windows 2008 server. Any ideas? That folder share is set to everyone with full.
When I change \192.168.0.12\imagedepot to be a mapdrive of Z:\ i get.
Could not find a part of the path 'Z:\AT294577469.jpeg'
Any ideas?