sdpctl Reference Guide
sdpctl appliance files list
Lists the files in the Controllers file repository
Synopsis
Lists the files in the Controllers file repository. Default output is in table format. Optionally print the output in JSON format by using the “–json” flag
sdpctl appliance files list [flags]
Examples
# list files table output
> sdctl files list
Name Status Created Modified Failure Reason
---- ------ ------- -------- --------------
appgate-6.0.1-29983-beta.img.zip Ready 2022-08-19 08:06:20.909002 +0000 UTC 2022-08-19 08:06:20.909002 +0000 UTC
# list files using JSON output
> sdctl files list --json
[
{
"creationTime": "2022-08-19T08:06:20.909002Z",
"lastModifiedTime": "2022-08-19T08:06:20.909002Z",
"name": "appgate-6.0.1-29983-beta.img.zip",
"status": "Ready"
}
]
Options
-h, --help help for list
--json output in json format
Options inherited from parent commands
--api-version int Peer API version override
--ci-mode Log to stderr instead of file and disable progress-bars
--debug Enable debug logging
--descending Change the direction of sort order when using the '--order-by' flag. Using this will reverse the sort order for all keywords specified in the '--order-by' flag.
--events-path string send logs to unix domain socket path
-e, --exclude stringToString Filter appliances using a comma separated list of key-value pairs. Regex syntax is used for matching strings. Example: '--exclude name=controller,site=<site-id> etc.'.
Available keywords to filter on are: name, id, tags|tag, version, hostname|host, active|activated, site|site-id, function (default [])
-i, --include stringToString Include appliances. Adheres to the same syntax and key-value pairs as '--exclude' (default [])
--no-interactive Suppress interactive prompt with auto accept
--no-verify Don't verify TLS on for the given command, overriding settings from config file
--order-by strings Order appliance lists by keywords, i.e. 'name', 'id' etc. Accepts a comma seperated list of keywords, where first mentioned has priority. Applies to the 'appliance list' and 'appliance stats' commands. (default [name])
-p, --profile string Profile configuration to use
SEE ALSO
sdpctl appliance files - The files command lets you manage the file repository on the connected Controller