| RuyiNetUserFileServiceUploadFile Method |
[This is preliminary documentation and is subject to change.]
Prepares a user file upload.
Namespace:
Ruyi.SDK.Online
Assembly:
RuyiSDK (in RuyiSDK.dll) Version: 0.9.3.3995 (0.9.3.3995)
Syntax public void UploadFile(
int index,
string cloudPath,
string cloudFilename,
bool shareable,
bool replaceIfExists,
string localPath,
RuyiNetTaskResponseCallbackType callback
)
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. - callback
- Type: Ruyi.SDK.OnlineRuyiNetTaskResponseCallbackType
The function to call when the task completes.
See Also