ArcGIS Pro 3.3 API Reference Guide
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

In This Topic
    GetAsFile Method
    In This Topic
    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 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also