Click or drag to resize

DataTransferServiceDownloadFile Method

Retrieve FileInfo for downloaded data from URL. This function allows clients to download large files.

Namespace:  Avaya.ClientServices
Assembly:  AvayaClientServices (in AvayaClientServices.dll) Version: 550.0.60.0
Syntax
C#
public CancellableDataRetrieval DownloadFile(
	DataTransferServiceConfiguration serviceConfiguration,
	Uri sourceURL,
	string destinationDirectory,
	DataTransferOptionalParameters optionalParameters,
	DataTransferServiceDataTransferWithDataCompletionHandler<FileInfo> completionHandler
)

Parameters

serviceConfiguration
Type: Avaya.ClientServicesDataTransferServiceConfiguration
Service configuration that will be used for this request.
sourceURL
Type: SystemUri
URL of the source file.
destinationDirectory
Type: SystemString
The directory for storing downloaded data.
optionalParameters
Type: Avaya.ClientServicesDataTransferOptionalParameters
Optional parameters to control download process.
completionHandler
Type: Avaya.ClientServicesDataTransferServiceDataTransferWithDataCompletionHandlerFileInfo
The completion handler for this operation.

Return Value

Type: CancellableDataRetrieval
CancellableDataRetrieval object for canceling the request.
See Also