ES3Cloud.DeleteFile

public static IEnumerator DeleteFile(string filePath, string user, string password, ES3Settings settings)

Description

Deletes a file from the server.

Note that all parameters are optional.

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

If no user parameter is provided, it will delete the global file with the given name.

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 delete 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.

Examples

C#

JS