ICloudDriveConnector.UploadSmallFileAsync Method

Definition

Upload a small file (less than 4MB).

public System.Threading.Tasks.Task UploadSmallFileAsync(string filePath, string destinationPath, System.Threading.CancellationToken cancellationToken = default);
abstract member UploadSmallFileAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function UploadSmallFileAsync (filePath As String, destinationPath As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

filePath
String

Path of the local file to upload.

destinationPath
String

Remote path to store the file, which is relative to the root of the OneDrive folder and should begin with the '/' character.

cancellationToken
CancellationToken

The CancellationToken to monitor for cancellation requests. The default is None.

Returns

Applies to