ES3Cloud.SearchFilenames

public IEnumerator SearchFilenames(string searchPattern, string user, string password)

Description

Downloads the names of all of the files on the server for a given user which match the given search pattern. The search pattern supports the ‘%’ and ‘_’ wildcards as described here.

After downloading, you can then get an array of filenames using the ES3Cloud‘s ES3Cloud.filenames variable.

If no user parameter is provided, it will get the names of all of the global files.

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

Parameters

searchPattern A search pattern containing '%' or '_' wildcards where '%' represents zero, one, or multiple characters, and '_' represents a single character.

user

[Optional] The name of the user we want to get the filenames of.

password

[Optional] The password of the user we want to get the filenames of.

Examples