| RuyiNetUserFileServiceUploadFile Method |
[This is preliminary documentation and is subject to change.]
Prepares a user file upload.
Namespace:
Ruyi.SDK.Online
Assembly:
SDK.RuyiSDKAsync (in SDK.RuyiSDKAsync.dll) Version: 0.9.3.3995
Syntax public Task<RuyiNetUploadFileResponse> UploadFile(
int index,
string cloudPath,
string cloudFilename,
bool shareable,
bool replaceIfExists,
string localPath,
Nullable<CancellationToken> cancellationToken = null
)
Parameters
- index
- Type: SystemInt32
The index of user - cloudPath
- Type: SystemString
The desired cloud path of the file. - cloudFilename
- Type: SystemString
The desired cloud fileName of the file. - shareable
- Type: SystemBoolean
True if the file is shareable. - replaceIfExists
- Type: SystemBoolean
Whether to replace file if it exists. - localPath
- Type: SystemString
The path and fileName of the local file. - cancellationToken (Optional)
- Type: SystemNullableCancellationToken
The cancellation token.
Return Value
Type:
TaskRuyiNetUploadFileResponse[Missing <returns> documentation for "M:Ruyi.SDK.Online.RuyiNetUserFileService.UploadFile(System.Int32,System.String,System.String,System.Boolean,System.Boolean,System.String,System.Nullable{System.Threading.CancellationToken})"]
See Also