ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Core Namespace / EsriHttpClient Class / OverwriteFile Property

OverwriteFile Property
Gets or sets a value that indicates if the file should be overwritten if already present while uploading/downloading files.
Syntax
public bool OverwriteFile {get; set;}
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.0 or higher.
See Also