DataPA Enterprise Dashboard Controls API Reference
Downloads a file to a local file on disk.

Namespace: DataPAClientConfig
Assembly: DataPAClientConfig (in DataPAClientConfig.dll) Version: 1.0.1.0 (1.0.1.0)

Syntax

C#
public static bool DownloadFileFromWeb(
	string URL,
	string LocalFile
)
Visual Basic
Public Shared Function DownloadFileFromWeb ( 
	URL As String,
	LocalFile As String
) As Boolean
Visual C++
public:
static bool DownloadFileFromWeb(
	String^ URL, 
	String^ LocalFile
)

Parameters

URL
Type: System..::..String
The location of the file on the web.
LocalFile
Type: System..::..String
The local file.

Return Value

Type: Boolean
True if the file was downloaded.

Remarks