ArcGIS Pro 2.7 API Reference Guide
GetAsFile Method

ArcGIS.Desktop.Core Namespace > EsriHttpClient Class : GetAsFile Method
The Uri address of the synchronous request
Absolute path of the file to which the response will be downloaded to
Downloads the resource as a file identified by the specified Uri synchronously.
Syntax
Public Function GetAsFile( _
   ByVal requestUri As String, _
   ByVal filePathToDownload As String _
) As Boolean

Parameters

requestUri
The Uri address of the synchronous request
filePathToDownload
Absolute path of the file to which the response will be downloaded to

Return Value

Boolean value indicating success or failure
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

EsriHttpClient Class
EsriHttpClient Members