9 references to DestinationPath
Microsoft.DotNet.Arcade.Sdk (9)
src\DownloadFile.cs (9)
62if (File.Exists(DestinationPath) && !Overwrite) 72Directory.CreateDirectory(Path.GetDirectoryName(DestinationPath)); 116Log.LogMessage($"Copying '{filePath}' to '{DestinationPath}'"); 117File.Copy(filePath, DestinationPath, overwrite: true); 125Log.LogMessage($"Downloading '{uri}' to '{DestinationPath}'"); 167Log.LogMessage($"Download of '{uri}' to '{DestinationPath}' has been cancelled."); 198using (var outStream = File.Create(DestinationPath)) 217Log.LogMessage($"Failed to download '{uri}' to '{DestinationPath}': {e.Message}"); 221Log.LogMessage($"Retrying download of '{uri}' to '{DestinationPath}' due to failure: '{e.Message}' ({attempt}/{Retries})");