set-config-file

Syntax

tadm set-config-file common_options --config=config_name --upload-file=local_file_to_upload file_name

Description

Use this command to change one of the files of a configuration or to add a file to the configuration.

Options

For information about common_options, run the help command.

--config|-c

Specify the name of the configuration for which you want to add or replace a configuration file.

--upload-file|-o

Specify the name of the local file to be uploaded to the configuration directory.

Operands

file-name

Specify the name of the configuration file.

Example

tadm set-config-file --user=admin --host=admin.example.com 
--password-file=./admin.passwd --port=8989 --no-prompt --config=www.example.org --upload-file=obj.conf obj.conf

Exit Codes

The following exit values are returned:

0: command executed successfully

>0: error in executing the command

For more information about exit codes and syntax notations, run the help command.