Avaya Client Services API Reference (Windows)
Avaya Client Services API Reference (Windows)
Avaya.ClientServices
DataTransferService Class
DataTransferService Methods
DownloadFile Method
RemoveFile Method
RetrieveDataFromUrl Method
RetrieveTextFromUrl Method
UploadFile Method

DataTransferService UploadFile Method

Upload/Update file to/on destination.

Namespace: Avaya.ClientServices
Assembly: AvayaClientServices (in AvayaClientServices.dll) Version: 592.1.30.0
Syntax
C#
Copy

    public CancellableDataRetrieval UploadFile(
    	DataTransferServiceConfiguration serviceConfiguration,
    	Uri destinationURL,
    	string sourceFileLocation,
    	DataTransferOptionalParameters optionalParameters,
    	DataTransferServiceDataTransferCompletionHandler completionHandler
    )

#### Parameters

serviceConfiguration
  Type: Avaya.ClientServices
  DataTransferServiceConfiguration
  Service configuration that will be used for this request.
destinationURL
  Type: System
  Uri
  The URL of the file to be uploaded to.
sourceFileLocation
  Type: System
  String
  The full path to local file.
optionalParameters
  Type: Avaya.ClientServices
  DataTransferOptionalParameters
  Optional parameters to control upload process.
completionHandler
  Type: Avaya.ClientServices
  DataTransferService
  DataTransferCompletionHandler
  The completion handler for this operation.

#### Return Value

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

#### Reference

DataTransferService Class
Avaya.ClientServices Namespace

© 2017 Avaya LLC. All Rights Reserved.