Share via


IDTSHttpClientConnection100.DownloadFile(String, Boolean) Method

Definition

Downloads data from the resource specified by ServerURL property to a local file.

public:
 void DownloadFile(System::String ^ FileName, bool vbOverwriteDestination);
[System.Runtime.InteropServices.DispId(21)]
public void DownloadFile (string FileName, bool vbOverwriteDestination);
[<System.Runtime.InteropServices.DispId(21)>]
abstract member DownloadFile : string * bool -> unit
Public Sub DownloadFile (FileName As String, vbOverwriteDestination As Boolean)

Parameters

FileName
String

The name of the local file into which the downloaded data is stored.

vbOverwriteDestination
Boolean

True to overwrite the existing file; otherwise, false.

Attributes

Remarks

For more information, see HttpClientConnection100Class.

Applies to