file commands
See “File management” in the 7705 SAR Gen 2 Basic System Configuration Guide for more information.
file
— change-directory
— router-instance string
— [url] (ftp-url | sftp-url | sat-url | cflash-url | string-not-all-spaces)
— checksum
— router-instance string
— [type] keyword
— [url] (ftp-tftp-url | sftp-url | sat-url | cflash-url | string-not-all-spaces)
— copy
— client-tls-profile string
— [destination-url] (ftp-tftp-url | http-url-loose | scp-url | sftp-url | sat-url | cflash-url | string-not-all-spaces)
— direct-http
— force
— proxy http-url
— recursive
— router-instance string
— [source-url] (ftp-tftp-url | http-url-loose | sftp-url | sat-url | cflash-url | string-not-all-spaces)
— disable
— active
— cflash-id cflash-id
— standby
— edit
— [url] (sat-url | cflash-url | string-not-all-spaces)
— enable
— active
— cflash-id cflash-id
— standby
— format
— [cflash-id] cflash-id
— list
— reverse
— router-instance string
— [sort-order] keyword
— [url] (ftp-url | sftp-url | sat-url | cflash-url | string-not-all-spaces)
— make-directory
— router-instance string
— [url] (ftp-url | sftp-url | sat-url | cflash-url | string-not-all-spaces)
— move
— client-tls-profile string
— [destination-url] (ftp-url | http-url-loose | sftp-url | sat-url | cflash-url | string-not-all-spaces)
— direct-http
— force
— proxy http-url
— router-instance string
— [source-url] (ftp-url | http-url-loose | sftp-url | sat-url | cflash-url | string-not-all-spaces)
— permission
— [attribute] keyword
— [url] (sat-url | cflash-url | string-not-all-spaces)
— remove
— client-tls-profile string
— direct-http
— force
— proxy http-url
— router-instance string
— [url] (ftp-url | http-url-loose | sftp-url | sat-url | cflash-url | string-not-all-spaces)
— remove-directory
— force
— recursive
— router-instance string
— [url] (ftp-url | sftp-url | sat-url | cflash-url | string-not-all-spaces)
— repair
— [cflash-id] cflash-id
— secure-erase
— [cflash-id] cflash-id
— show
— client-tls-profile string
— direct-http
— proxy http-url
— router-instance string
— [url] (ftp-tftp-url | http-url-loose | sftp-url | sat-url | cflash-url | string-not-all-spaces)
— unzip
— create-destination
— [destination-url] (sat-url | cflash-url | string-not-all-spaces)
— force
— list
— router-instance string
— [source-url] (ftp-tftp-url | http-url-loose | sftp-url | sat-url | cflash-url | string-not-all-spaces)
— version
— [url] (sat-url | cflash-url | string-not-all-spaces | ftp-tftp-url)
file command descriptions
file
change-directory
| Synopsis | Change the working directory | |
| Context | file change-directory | |
| Tree | change-directory | |
| Introduced | 25.3.R2 | |
Platforms | SAR Gen 2 |
router-instance string
| Synopsis | Router name or VPRN service name | |
| Context | file change-directory router-instance string | |
| Tree | router-instance | |
| Introduced | 25.10.R1 | |
Platforms | SAR Gen 2 |
[url] (ftp-url | sftp-url | sat-url | cflash-url | string-not-all-spaces)
| Synopsis | New working directory URL | |
| Context | file change-directory [url] (ftp-url | sftp-url | sat-url | cflash-url | string-not-all-spaces) | |
| Tree | [url] | |
String length |
1 to 180 (ftp-url) 1 to 512 (sftp-url) 1 to 200 (sat-url, cflash-url, string-not-all-spaces) | |
Default | . | |
String format |
'ftp-url' must not contain illegal characters 'ftp-url' must be ftp:// with optional user:pass@, hostname and path (e.g. ftp://user:pass@hostname.domain/path/file) 'sftp-url' must not contain illegal characters 'sftp-url' must be sftp:// with optional user:pass@, hostname and path (e.g. sftp://user:pass@hostname.domain/path/file) 'sat-url' must start with sat: (e.g. sat:path/to/file) 'cflash-url' must start with cf1-4, optional slot A-D, then path (e.g. cf1:/path or cf1-A:/path) 'cflash-url' must have each path segment at most 99 characters 'string-not-all-spaces' must contain at least one non-space character | |
| Introduced | 25.3.R2 | |
Platforms | SAR Gen 2 |
checksum
router-instance string
| Synopsis | Router name or VPRN service name | |
| Context | file checksum router-instance string | |
| Tree | router-instance | |
| Introduced | 25.10.R1 | |
Platforms | SAR Gen 2 |
[type] keyword
[url] (ftp-tftp-url | sftp-url | sat-url | cflash-url | string-not-all-spaces)
| Synopsis | File URL | |
| Context | file checksum [url] (ftp-tftp-url | sftp-url | sat-url | cflash-url | string-not-all-spaces) | |
| Tree | [url] | |
String length |
1 to 199 (ftp-tftp-url) 1 to 512 (sftp-url) 1 to 200 (sat-url, cflash-url, string-not-all-spaces) | |
String format |
'ftp-tftp-url' must be ftp:// or tftp:// with host and path (e.g. ftp://user:pass@hostname.domain/path/file) 'ftp-tftp-url' must have valid hostname and optional path after scheme 'sftp-url' must not contain illegal characters 'sftp-url' must be sftp:// with optional user:pass@, hostname and path (e.g. sftp://user:pass@hostname.domain/path/file) 'sat-url' must start with sat: (e.g. sat:path/to/file) 'cflash-url' must start with cf1-4, optional slot A-D, then path (e.g. cf1:/path or cf1-A:/path) 'cflash-url' must have each path segment at most 99 characters 'string-not-all-spaces' must contain at least one non-space character | |
Notes | This element is mandatory. | |
| Introduced | 25.3.R2 | |
Platforms | SAR Gen 2 |
copy
client-tls-profile string
| Synopsis | Connect over HTTP with a client TLS profile | |
| Context | file copy client-tls-profile string | |
| Tree | client-tls-profile | |
| String length | 1 to 32 | |
| Introduced | 25.3.R2 | |
Platforms | SAR Gen 2 |
[destination-url] (ftp-tftp-url | http-url-loose | scp-url | sftp-url | sat-url | cflash-url | string-not-all-spaces)
| Synopsis | Destination URL or '.' for the working directory | |
| Context | file copy [destination-url] (ftp-tftp-url | http-url-loose | scp-url | sftp-url | sat-url | cflash-url | string-not-all-spaces) | |
| Tree | [destination-url] | |
String length |
1 to 199 (ftp-tftp-url) 1 to 180 (http-url-loose, scp-url) 1 to 512 (sftp-url) 1 to 200 (sat-url, cflash-url, string-not-all-spaces) | |
String format |
'ftp-tftp-url' must be ftp:// or tftp:// with host and path (e.g. ftp://user:pass@hostname.domain/path/file) 'ftp-tftp-url' must have valid hostname and optional path after scheme 'http-url-loose' must be http:// with host and optional port and path (e.g. http://hostname.domain/path) 'scp-url' must be scp:// with optional user:pass@, hostname and path (e.g. scp://user:pass@hostname.domain/path/file) 'sftp-url' must not contain illegal characters 'sftp-url' must be sftp:// with optional user:pass@, hostname and path (e.g. sftp://user:pass@hostname.domain/path/file) 'sat-url' must start with sat: (e.g. sat:path/to/file) 'cflash-url' must start with cf1-4, optional slot A-D, then path (e.g. cf1:/path or cf1-A:/path) 'cflash-url' must have each path segment at most 99 characters 'string-not-all-spaces' must contain at least one non-space character | |
Notes | This element is mandatory. | |
| Introduced | 25.3.R2 | |
Platforms | SAR Gen 2 |
direct-http
| Synopsis | Allow direct HTTP connection, do not follow redirects | |
| Context | file copy direct-http | |
| Tree | direct-http | |
| Introduced | 25.3.R2 | |
Platforms | SAR Gen 2 |
force
proxy http-url
recursive
| Synopsis | Copy sub-directories encountered at the source URL | |
| Context | file copy recursive | |
| Tree | recursive | |
Description | This command recursively copies files and directories. If files or directories already exist, the operator is prompted to overwrite them. When the force command is enabled, a positive response to the overwrite prompts is assumed, and the operator is not prompted for confirmation. The existing files or directories are overwritten. | |
| Introduced | 25.3.R2 | |
Platforms | SAR Gen 2 |
router-instance string
| Synopsis | Router name or VPRN service name | |
| Context | file copy router-instance string | |
| Tree | router-instance | |
| Introduced | 25.3.R2 | |
Platforms | SAR Gen 2 |
[source-url] (ftp-tftp-url | http-url-loose | sftp-url | sat-url | cflash-url | string-not-all-spaces)
| Synopsis | Source URL | |
| Context | file copy [source-url] (ftp-tftp-url | http-url-loose | sftp-url | sat-url | cflash-url | string-not-all-spaces) | |
| Tree | [source-url] | |
String length |
1 to 199 (ftp-tftp-url) 1 to 180 (http-url-loose) 1 to 512 (sftp-url) 1 to 200 (sat-url, cflash-url, string-not-all-spaces) | |
String format |
'ftp-tftp-url' must be ftp:// or tftp:// with host and path (e.g. ftp://user:pass@hostname.domain/path/file) 'ftp-tftp-url' must have valid hostname and optional path after scheme 'http-url-loose' must be http:// with host and optional port and path (e.g. http://hostname.domain/path) 'sftp-url' must not contain illegal characters 'sftp-url' must be sftp:// with optional user:pass@, hostname and path (e.g. sftp://user:pass@hostname.domain/path/file) 'sat-url' must start with sat: (e.g. sat:path/to/file) 'cflash-url' must start with cf1-4, optional slot A-D, then path (e.g. cf1:/path or cf1-A:/path) 'cflash-url' must have each path segment at most 99 characters 'string-not-all-spaces' must contain at least one non-space character | |
Notes | This element is mandatory. | |
| Introduced | 25.3.R2 | |
Platforms | SAR Gen 2 |
disable
active
cflash-id cflash-id
| Synopsis | Disable the storage device | |
| Context | file disable cflash-id cflash-id | |
| Tree | cflash-id | |
| String length | 4 to 6 | |
| String format | 'cflash-id' must be cf1-4: or cf1-4-A-D: (e.g. cf1: or cf2-B:) | |
Notes | The following elements are part of a choice: active, cflash-id, or standby. | |
| Introduced | 25.3.R2 | |
Platforms | SAR Gen 2 |
standby
edit
[url] (sat-url | cflash-url | string-not-all-spaces)
| Synopsis | File URL | |
| Context | file edit [url] (sat-url | cflash-url | string-not-all-spaces) | |
| Tree | [url] | |
| String length | 1 to 200 | |
String format |
'sat-url' must start with sat: (e.g. sat:path/to/file) 'cflash-url' must start with cf1-4, optional slot A-D, then path (e.g. cf1:/path or cf1-A:/path) 'cflash-url' must have each path segment at most 99 characters 'string-not-all-spaces' must contain at least one non-space character | |
Notes | This element is mandatory. | |
| Introduced | 25.3.R2 | |
Platforms | SAR Gen 2 |
enable
active
cflash-id cflash-id
| Synopsis | Enable the compact flash device | |
| Context | file enable cflash-id cflash-id | |
| Tree | cflash-id | |
| String length | 4 to 6 | |
| String format | 'cflash-id' must be cf1-4: or cf1-4-A-D: (e.g. cf1: or cf2-B:) | |
Notes | The following elements are part of a choice: active, cflash-id, or standby. | |
| Introduced | 25.3.R2 | |
Platforms | SAR Gen 2 |
standby
format
[cflash-id] cflash-id
| Synopsis | Format a storage device | |
| Context | file format [cflash-id] cflash-id | |
| Tree | [cflash-id] | |
| String length | 4 to 6 | |
| String format | 'cflash-id' must be cf1-4: or cf1-4-A-D: (e.g. cf1: or cf2-B:) | |
| Introduced | 25.3.R2 | |
Platforms | SAR Gen 2 |
list
reverse
router-instance string
| Synopsis | Router name or VPRN service name | |
| Context | file list router-instance string | |
| Tree | router-instance | |
| Introduced | 25.10.R1 | |
Platforms | SAR Gen 2 |
[sort-order] keyword
| Synopsis | Sort order for the directory | |
| Context | file list [sort-order] keyword | |
| Tree | [sort-order] | |
| Options | ||
| Introduced | 25.3.R2 | |
Platforms | SAR Gen 2 |
[url] (ftp-url | sftp-url | sat-url | cflash-url | string-not-all-spaces)
| Synopsis | Location of the directory to be listed | |
| Context | file list [url] (ftp-url | sftp-url | sat-url | cflash-url | string-not-all-spaces) | |
| Tree | [url] | |
String length |
1 to 180 (ftp-url) 1 to 512 (sftp-url) 1 to 200 (sat-url, cflash-url, string-not-all-spaces) | |
Default | . | |
String format |
'ftp-url' must not contain illegal characters 'ftp-url' must be ftp:// with optional user:pass@, hostname and path (e.g. ftp://user:pass@hostname.domain/path/file) 'sftp-url' must not contain illegal characters 'sftp-url' must be sftp:// with optional user:pass@, hostname and path (e.g. sftp://user:pass@hostname.domain/path/file) 'sat-url' must start with sat: (e.g. sat:path/to/file) 'cflash-url' must start with cf1-4, optional slot A-D, then path (e.g. cf1:/path or cf1-A:/path) 'cflash-url' must have each path segment at most 99 characters 'string-not-all-spaces' must contain at least one non-space character | |
| Introduced | 25.3.R2 | |
Platforms | SAR Gen 2 |
make-directory
| Synopsis | Make a directory | |
| Context | file make-directory | |
| Tree | make-directory | |
| Introduced | 25.3.R2 | |
Platforms | SAR Gen 2 |
router-instance string
| Synopsis | Router name or VPRN service name | |
| Context | file make-directory router-instance string | |
| Tree | router-instance | |
| Introduced | 25.10.R1 | |
Platforms | SAR Gen 2 |
[url] (ftp-url | sftp-url | sat-url | cflash-url | string-not-all-spaces)
| Synopsis | Directory location | |
| Context | file make-directory [url] (ftp-url | sftp-url | sat-url | cflash-url | string-not-all-spaces) | |
| Tree | [url] | |
String length |
1 to 180 (ftp-url) 1 to 512 (sftp-url) 1 to 200 (sat-url, cflash-url, string-not-all-spaces) | |
String format |
'ftp-url' must not contain illegal characters 'ftp-url' must be ftp:// with optional user:pass@, hostname and path (e.g. ftp://user:pass@hostname.domain/path/file) 'sftp-url' must not contain illegal characters 'sftp-url' must be sftp:// with optional user:pass@, hostname and path (e.g. sftp://user:pass@hostname.domain/path/file) 'sat-url' must start with sat: (e.g. sat:path/to/file) 'cflash-url' must start with cf1-4, optional slot A-D, then path (e.g. cf1:/path or cf1-A:/path) 'cflash-url' must have each path segment at most 99 characters 'string-not-all-spaces' must contain at least one non-space character | |
Notes | This element is mandatory. | |
| Introduced | 25.3.R2 | |
Platforms | SAR Gen 2 |
move
client-tls-profile string
| Synopsis | Connect over HTTP with a client TLS profile | |
| Context | file move client-tls-profile string | |
| Tree | client-tls-profile | |
| String length | 1 to 32 | |
| Introduced | 25.3.R2 | |
Platforms | SAR Gen 2 |
[destination-url] (ftp-url | http-url-loose | sftp-url | sat-url | cflash-url | string-not-all-spaces)
| Synopsis | Destination URL or '.' for the working directory | |
| Context | file move [destination-url] (ftp-url | http-url-loose | sftp-url | sat-url | cflash-url | string-not-all-spaces) | |
| Tree | [destination-url] | |
String length |
1 to 180 (ftp-url, http-url-loose) 1 to 512 (sftp-url) 1 to 200 (sat-url, cflash-url, string-not-all-spaces) | |
String format |
'ftp-url' must not contain illegal characters 'ftp-url' must be ftp:// with optional user:pass@, hostname and path (e.g. ftp://user:pass@hostname.domain/path/file) 'http-url-loose' must be http:// with host and optional port and path (e.g. http://hostname.domain/path) 'sftp-url' must not contain illegal characters 'sftp-url' must be sftp:// with optional user:pass@, hostname and path (e.g. sftp://user:pass@hostname.domain/path/file) 'sat-url' must start with sat: (e.g. sat:path/to/file) 'cflash-url' must start with cf1-4, optional slot A-D, then path (e.g. cf1:/path or cf1-A:/path) 'cflash-url' must have each path segment at most 99 characters 'string-not-all-spaces' must contain at least one non-space character | |
Notes | This element is mandatory. | |
| Introduced | 25.3.R2 | |
Platforms | SAR Gen 2 |
direct-http
| Synopsis | Allow direct HTTP connection, do not follow redirects | |
| Context | file move direct-http | |
| Tree | direct-http | |
| Introduced | 25.3.R2 | |
Platforms | SAR Gen 2 |
force
proxy http-url
router-instance string
| Synopsis | Router name or VPRN service name | |
| Context | file move router-instance string | |
| Tree | router-instance | |
| Introduced | 25.10.R1 | |
Platforms | SAR Gen 2 |
[source-url] (ftp-url | http-url-loose | sftp-url | sat-url | cflash-url | string-not-all-spaces)
| Synopsis | Source URL | |
| Context | file move [source-url] (ftp-url | http-url-loose | sftp-url | sat-url | cflash-url | string-not-all-spaces) | |
| Tree | [source-url] | |
String length |
1 to 180 (ftp-url, http-url-loose) 1 to 512 (sftp-url) 1 to 200 (sat-url, cflash-url, string-not-all-spaces) | |
String format |
'ftp-url' must not contain illegal characters 'ftp-url' must be ftp:// with optional user:pass@, hostname and path (e.g. ftp://user:pass@hostname.domain/path/file) 'http-url-loose' must be http:// with host and optional port and path (e.g. http://hostname.domain/path) 'sftp-url' must not contain illegal characters 'sftp-url' must be sftp:// with optional user:pass@, hostname and path (e.g. sftp://user:pass@hostname.domain/path/file) 'sat-url' must start with sat: (e.g. sat:path/to/file) 'cflash-url' must start with cf1-4, optional slot A-D, then path (e.g. cf1:/path or cf1-A:/path) 'cflash-url' must have each path segment at most 99 characters 'string-not-all-spaces' must contain at least one non-space character | |
Notes | This element is mandatory. | |
| Introduced | 25.3.R2 | |
Platforms | SAR Gen 2 |
permission
| Synopsis | Show or set file permissions | |
| Context | file permission | |
| Tree | permission | |
| Introduced | 25.3.R2 | |
Platforms | SAR Gen 2 |
[attribute] keyword
| Synopsis | File permission | |
| Context | file permission [attribute] keyword | |
| Tree | [attribute] | |
| Options | ||
| Introduced | 25.3.R2 | |
Platforms |
SAR Gen 2 |
[url] (sat-url | cflash-url | string-not-all-spaces)
| Synopsis | File URL to set permissions | |
| Context | file permission [url] (sat-url | cflash-url | string-not-all-spaces) | |
| Tree | [url] | |
| String length | 1 to 200 | |
String format |
'sat-url' must start with sat: (e.g. sat:path/to/file) 'cflash-url' must start with cf1-4, optional slot A-D, then path (e.g. cf1:/path or cf1-A:/path) 'cflash-url' must have each path segment at most 99 characters 'string-not-all-spaces' must contain at least one non-space character | |
| Introduced | 25.3.R2 | |
Platforms | SAR Gen 2 |
remove
client-tls-profile string
| Synopsis | Connect over HTTP with a client TLS profile | |
| Context | file remove client-tls-profile string | |
| Tree | client-tls-profile | |
| String length | 1 to 32 | |
| Introduced | 25.3.R2 | |
Platforms | SAR Gen 2 |
direct-http
| Synopsis | Allow direct HTTP connection, do not follow redirects | |
| Context | file remove direct-http | |
| Tree | direct-http | |
| Introduced | 25.3.R2 | |
Platforms | SAR Gen 2 |
force
proxy http-url
router-instance string
| Synopsis | Router name or VPRN service name | |
| Context | file remove router-instance string | |
| Tree | router-instance | |
| Introduced | 25.10.R1 | |
Platforms | SAR Gen 2 |
[url] (ftp-url | http-url-loose | sftp-url | sat-url | cflash-url | string-not-all-spaces)
| Synopsis | File URL | |
| Context | file remove [url] (ftp-url | http-url-loose | sftp-url | sat-url | cflash-url | string-not-all-spaces) | |
| Tree | [url] | |
String length |
1 to 180 (ftp-url, http-url-loose) 1 to 512 (sftp-url) 1 to 200 (sat-url, cflash-url, string-not-all-spaces) | |
String format |
'ftp-url' must not contain illegal characters 'ftp-url' must be ftp:// with optional user:pass@, hostname and path (e.g. ftp://user:pass@hostname.domain/path/file) 'http-url-loose' must be http:// with host and optional port and path (e.g. http://hostname.domain/path) 'sftp-url' must not contain illegal characters 'sftp-url' must be sftp:// with optional user:pass@, hostname and path (e.g. sftp://user:pass@hostname.domain/path/file) 'sat-url' must start with sat: (e.g. sat:path/to/file) 'cflash-url' must start with cf1-4, optional slot A-D, then path (e.g. cf1:/path or cf1-A:/path) 'cflash-url' must have each path segment at most 99 characters 'string-not-all-spaces' must contain at least one non-space character | |
Notes | This element is mandatory. | |
| Introduced | 25.3.R2 | |
Platforms | SAR Gen 2 |
remove-directory
| Synopsis | Remove directories | |
| Context | file remove-directory | |
| Tree | remove-directory | |
| Introduced | 25.3.R2 | |
Platforms | SAR Gen 2 |
force
| Synopsis | Force removal without prompting | |
| Context | file remove-directory force | |
| Tree | force | |
| Introduced | 25.3.R2 | |
Platforms | SAR Gen 2 |
recursive
| Synopsis | Remove directory and contents recursively | |
| Context | file remove-directory recursive | |
| Tree | recursive | |
| Introduced | 25.3.R2 | |
Platforms | SAR Gen 2 |
router-instance string
| Synopsis | Router name or VPRN service name | |
| Context | file remove-directory router-instance string | |
| Tree | router-instance | |
| Introduced | 25.10.R1 | |
Platforms | SAR Gen 2 |
[url] (ftp-url | sftp-url | sat-url | cflash-url | string-not-all-spaces)
| Synopsis | Directory URL | |
| Context | file remove-directory [url] (ftp-url | sftp-url | sat-url | cflash-url | string-not-all-spaces) | |
| Tree | [url] | |
String length |
1 to 180 (ftp-url) 1 to 512 (sftp-url) 1 to 200 (sat-url, cflash-url, string-not-all-spaces) | |
String format |
'ftp-url' must not contain illegal characters 'ftp-url' must be ftp:// with optional user:pass@, hostname and path (e.g. ftp://user:pass@hostname.domain/path/file) 'sftp-url' must not contain illegal characters 'sftp-url' must be sftp:// with optional user:pass@, hostname and path (e.g. sftp://user:pass@hostname.domain/path/file) 'sat-url' must start with sat: (e.g. sat:path/to/file) 'cflash-url' must start with cf1-4, optional slot A-D, then path (e.g. cf1:/path or cf1-A:/path) 'cflash-url' must have each path segment at most 99 characters 'string-not-all-spaces' must contain at least one non-space character | |
Notes | This element is mandatory. | |
| Introduced | 25.3.R2 | |
Platforms | SAR Gen 2 |
repair
[cflash-id] cflash-id
| Synopsis | Storage device to repair | |
| Context | file repair [cflash-id] cflash-id | |
| Tree | [cflash-id] | |
| String length | 4 to 6 | |
| String format | 'cflash-id' must be cf1-4: or cf1-4-A-D: (e.g. cf1: or cf2-B:) | |
| Introduced | 25.3.R2 | |
Platforms | SAR Gen 2 |
secure-erase
| Synopsis | Secure erase and format a storage device | |
| Context | file secure-erase | |
| Tree | secure-erase | |
Description | This command secure erases and formats a storage device with a new file system. The device must be administratively disabled first. | |
| Introduced | 25.10.R1 | |
Platforms | SAR Gen 2 |
[cflash-id] cflash-id
| Synopsis | Storage device to secure erase and format | |
| Context | file secure-erase [cflash-id] cflash-id | |
| Tree | [cflash-id] | |
Description | [ | |
| String length | 4 to 6 | |
| String format | 'cflash-id' must be cf1-4: or cf1-4-A-D: (e.g. cf1: or cf2-B:) | |
| Introduced | 25.10.R1 | |
Platforms | SAR Gen 2 |
show
client-tls-profile string
| Synopsis | Connect over HTTP with a client TLS profile | |
| Context | file show client-tls-profile string | |
| Tree | client-tls-profile | |
| String length | 1 to 32 | |
| Introduced | 25.3.R2 | |
Platforms | SAR Gen 2 |
direct-http
| Synopsis | Allow direct HTTP connection, do not follow redirects | |
| Context | file show direct-http | |
| Tree | direct-http | |
| Introduced | 25.3.R2 | |
Platforms | SAR Gen 2 |
proxy http-url
router-instance string
| Synopsis | Router name or VPRN service name | |
| Context | file show router-instance string | |
| Tree | router-instance | |
| Introduced | 25.10.R1 | |
Platforms | SAR Gen 2 |
[url] (ftp-tftp-url | http-url-loose | sftp-url | sat-url | cflash-url | string-not-all-spaces)
| Synopsis | File URL | |
| Context | file show [url] (ftp-tftp-url | http-url-loose | sftp-url | sat-url | cflash-url | string-not-all-spaces) | |
| Tree | [url] | |
String length |
1 to 199 (ftp-tftp-url) 1 to 180 (http-url-loose) 1 to 512 (sftp-url) 1 to 200 (sat-url, cflash-url, string-not-all-spaces) | |
String format |
'ftp-tftp-url' must be ftp:// or tftp:// with host and path (e.g. ftp://user:pass@hostname.domain/path/file) 'ftp-tftp-url' must have valid hostname and optional path after scheme 'http-url-loose' must be http:// with host and optional port and path (e.g. http://hostname.domain/path) 'sftp-url' must not contain illegal characters 'sftp-url' must be sftp:// with optional user:pass@, hostname and path (e.g. sftp://user:pass@hostname.domain/path/file) 'sat-url' must start with sat: (e.g. sat:path/to/file) 'cflash-url' must start with cf1-4, optional slot A-D, then path (e.g. cf1:/path or cf1-A:/path) 'cflash-url' must have each path segment at most 99 characters 'string-not-all-spaces' must contain at least one non-space character | |
Notes | This element is mandatory. | |
| Introduced | 25.3.R2 | |
Platforms | SAR Gen 2 |
unzip
create-destination
| Synopsis | Create destination directory if it does not exist | |
| Context | file unzip create-destination | |
| Tree | create-destination | |
| Introduced | 25.3.R2 | |
Platforms | SAR Gen 2 |
[destination-url] (sat-url | cflash-url | string-not-all-spaces)
| Synopsis | Destination URL or '.' for the working directory | |
| Context | file unzip [destination-url] (sat-url | cflash-url | string-not-all-spaces) | |
| Tree | [destination-url] | |
| String length | 1 to 200 | |
String format |
'sat-url' must start with sat: (e.g. sat:path/to/file) 'cflash-url' must start with cf1-4, optional slot A-D, then path (e.g. cf1:/path or cf1-A:/path) 'cflash-url' must have each path segment at most 99 characters 'string-not-all-spaces' must contain at least one non-space character | |
| Introduced | 25.3.R2 | |
Platforms | SAR Gen 2 |
force
| Synopsis | Force the unzip operation without prompting | |
| Context | file unzip force | |
| Tree | force | |
Description | When configured, files and directories that already exist in the destination URL are overwritten without prompting. The system does not automatically create directories explicitly specified by the destination URL. To allow the system to create new directories, use the create-destination command. When unconfigured, the system prompts the user before overwriting a file or directory. | |
Notes | The following elements are part of a choice: force or list. | |
| Introduced | 25.3.R2 | |
Platforms | SAR Gen 2 |
list
router-instance string
| Synopsis | Router name or VPRN service name | |
| Context | file unzip router-instance string | |
| Tree | router-instance | |
| Introduced | 25.10.R1 | |
Platforms | SAR Gen 2 |
[source-url] (ftp-tftp-url | http-url-loose | sftp-url | sat-url | cflash-url | string-not-all-spaces)
| Synopsis | Source URL | |
| Context | file unzip [source-url] (ftp-tftp-url | http-url-loose | sftp-url | sat-url | cflash-url | string-not-all-spaces) | |
| Tree | [source-url] | |
String length |
1 to 199 (ftp-tftp-url) 1 to 180 (http-url-loose) 1 to 512 (sftp-url) 1 to 200 (sat-url, cflash-url, string-not-all-spaces) | |
String format |
'ftp-tftp-url' must be ftp:// or tftp:// with host and path (e.g. ftp://user:pass@hostname.domain/path/file) 'ftp-tftp-url' must have valid hostname and optional path after scheme 'http-url-loose' must be http:// with host and optional port and path (e.g. http://hostname.domain/path) 'sftp-url' must not contain illegal characters 'sftp-url' must be sftp:// with optional user:pass@, hostname and path (e.g. sftp://user:pass@hostname.domain/path/file) 'sat-url' must start with sat: (e.g. sat:path/to/file) 'cflash-url' must start with cf1-4, optional slot A-D, then path (e.g. cf1:/path or cf1-A:/path) 'cflash-url' must have each path segment at most 99 characters 'string-not-all-spaces' must contain at least one non-space character | |
Notes | This element is mandatory. | |
| Introduced | 25.3.R2 | |
Platforms | SAR Gen 2 |
version
[url] (sat-url | cflash-url | string-not-all-spaces | ftp-tftp-url)
| Synopsis | File URL | |
| Context | file version [url] (sat-url | cflash-url | string-not-all-spaces | ftp-tftp-url) | |
| Tree | [url] | |
String length |
1 to 200 (sat-url, cflash-url, string-not-all-spaces) 1 to 199 (ftp-tftp-url) | |
|
String format | 'sat-url' must start with sat: (e.g. sat:path/to/file) 'cflash-url' must start with cf1-4, optional slot A-D, then path (e.g. cf1:/path or cf1-A:/path) 'cflash-url' must have each path segment at most 99 characters 'string-not-all-spaces' must contain at least one non-space character 'ftp-tftp-url' must be ftp:// or tftp:// with host and path (e.g. ftp://user:pass@hostname.domain/path/file) 'ftp-tftp-url' must have valid hostname and optional path after scheme | |
Notes | This element is mandatory. | |
| Introduced | 25.3.R2 | |
Platforms | SAR Gen 2 |