Downloads a file from the Central Campaign Server via the http server.

Namespace: ININ.IceLib.Configuration.Dialer
Assembly: ININ.IceLib.Dialer (in ININ.IceLib.Dialer.dll) Version: 0.0.0.0 (22.3.0.208)

Syntax

C#
public bool DownloadFile(
	HttpRequestKey key,
	ResourceType resourceType,
	string filePath
)
Visual Basic
Public Function DownloadFile ( _
	key As HttpRequestKey, _
	resourceType As ResourceType, _
	filePath As String _
) As Boolean

Parameters

key
Type: ININ.IceLib.Configuration.Dialer..::..HttpRequestKey
The request key that grants access to the http server.
resourceType
Type: ININ.IceLib.Configuration.Dialer..::..ResourceType
type of file to upload (Wave, UDL or TimezoneMap)
filePath
Type: System..::..String
The name of the file to download.

Return Value

true if succeessful

Exceptions

ExceptionCondition
System..::..ExceptionThrown when the file cannot be downloaded from the server

See Also