Author: newmanium | Posted on: 1/24/2009 9:11:21 PM | Views : 266

Hi,
 I've been looking all over for this solution for two days now.  What I need to do is copy a file from one web address to my server ... it's basically a web scrape.  I've figured out how to do this by dividing the process into first downloading the file to the client C: drive, then uploading it to my web server, but this is a pretty ghetto solution and I'd like to do better.
 What I wish I could do was use the WebClient.DownloadFile method but use a directory on the web server as the destination file location.  Maybe something like WebClient.DownloadFile("http://www.somewebsite.com/theRemotePicture.jpg", "/myWebServer/images/copiedPicture.jpg");
 Anyone got any ideas?

...

Go to the complete details ...