ES2Web.UploadFile

public IEnumerator UploadFile(string path)

Parameters

path The path of the file we want to upload.

Returns

IEnumerator The IEnumerator for the coroutine.

Description

Uploads an entire local file to the server. This method is useful for easily syncing save data with the cloud.

Note that to load data from the file, you will need to download the entire file first, and then use ES2Web.SaveToFile to save it as a local file, or use ES2Web’s Load methods to load tags from it.

C#

Upload and Download a local file to and from a server

JS

Upload and Download a local file to and from a server