Ruyi SDK
Namespaces
Ruyi.SDK.Online
RuyiNetUserFileService Class
RuyiNetUserFileService Methods
CancelUpload Method
DeleteUserFile Method
DeleteUserFiles Method
GetCDNUrl Method
GetUploadBytesTransferred Method
GetUploadProgress Method
GetUploadTotalBytesToTransfer Method
ListUserFiles Method
UploadFile Method
Click or drag to resizeClick or drag to resize

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
C#
Copy
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

Reference

RuyiNetUserFileService Class
Ruyi.SDK.Online Namespace

Copyright ©Zhongshan Subor Advanced Technology Co., Ltd. 2017-2018, All right reserved

Send comments on this topic to dev-support@playruyi.com