ES3Cloud.DownloadFile

public static IEnumerator DownloadFile(string filePath, string user, string password, ES3Settings settings) public static IEnumerator DownloadFile(ES3File es3File, string user, string password)

Description

Downloads a file from the server, overwriting any existing file stored locally.

Note that all parameters are optional.

If no filePath parameter is provided, it will attempt to download the default file.

If no user parameter is provided, it will download the global file which is not specific to any user.

For more information, see the Uploading and Downloading Files using ES3Cloud guide.

Parameters

filePath [Optional] The relative or absolute path of the local file we want to download from the server.

user

[Optional] The name of the user this file belongs to, if the file is not global.

password

[Optional] The password of the user this file belongs to.

settings

[Optional] The settings we want to use to override the default settings.

es3File

[Optional] The ES3File we want to load our data into. The filename in the settings of the ES3File will be used when downloading.

Examples

C#

JS