9 references to DestinationPath
Microsoft.DotNet.Arcade.Sdk (9)
src\DownloadFile.cs (9)
61if (File.Exists(DestinationPath) && !Overwrite) 71Directory.CreateDirectory(Path.GetDirectoryName(DestinationPath)); 115Log.LogMessage($"Copying '{filePath}' to '{DestinationPath}'"); 116File.Copy(filePath, DestinationPath, overwrite: true); 124Log.LogMessage($"Downloading '{uri}' to '{DestinationPath}'"); 137Log.LogMessage($"Download of '{uri}' to '{DestinationPath}' has been cancelled."); 168using (var outStream = File.Create(DestinationPath)) 187Log.LogMessage($"Failed to download '{uri}' to '{DestinationPath}': {e.Message}"); 191Log.LogMessage($"Retrying download of '{uri}' to '{DestinationPath}' due to failure: '{e.Message}' ({attempt}/{Retries})");