ES3Cloud.DownloadTimestamp

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

Description

Downloads the date and time a file on the server was last updated.

You can then get the downloaded timestamp as a DateTime using the ES3Cloud‘s ES3Cloud.timestamp field.

The date and time will be in UTC time, so may not be relative to the local time of the user.

Note that all parameters are optional.

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

If no user parameter is provided, it will download the timestamp of 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 the timestamp of.

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