Uploads a file to 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 UploadFile(
	HttpRequestKey key,
	ResourceType resourceType,
	string filePath
)
Visual Basic
Public Function UploadFile ( _
	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 full path to the file to upload.

Return Value

true if succeessful

Exceptions

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

See Also