I am downloading a file from a remote location to my local machine. The paths I am using are saved in web.config and are in following format:\[code\]<add key="FileFolder" value="http://stackoverflow.com/questions/4012791/Files/"/><add key="LocalFileFolder" value="http://stackoverflow.com/questions/4012791/file://localhost/D:/REAL/" />\[/code\]the code I am using to download is:\[code\] CreateDirectoryIfDoesNotExist(); WebClient webClient = new WebClient(); webClient.DownloadFileCompleted += new AsyncCompletedEventHandler(webClient_DownloadFileCompleted); webClient.DownloadProgressChanged += new DownloadProgressChangedEventHandler(webClient_DownloadProgressChanged); webClient.DownloadFileAsync(new Uri(context.Server.MapPath(ConfigurationManager.AppSettings["FileFolder"].ToString() + myfilename)), ConfigurationManager.AppSettings["LocalFileFolder"].ToString() + myfilename);\[/code\]When i deploy it on the server; and run my program, i get a message saying that download has completed successfully. But the problem is that the file is downloaded on the server machine in the filefolder (LocalFileFolder). I want it to be downloaded on the local machine. What is it that I am doing wrong?