public void Download(Uri address, string fileName) { EnsureFolderExists(fileName); //in case Woofy gets shut down during the download process - prevents incomplete files from being created var tempFile = Path.GetTempFileName(); webClient.Download(address, tempFile); file.Move(tempFile, fileName); }