Downloads a file from the Central Campaign Server via the http server.
Namespace: ININ.IceLib.Configuration.DialerAssembly: 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 succeessfulExceptions
Exception | Condition |
---|---|
System..::..Exception | Thrown when the file cannot be downloaded from the server |