Use > Server Automation > SA Command Line Interface (OCLI) > OCLI command syntax > Options common to oupload and odownload

Options common to upload and download

Options common to both commands

Arguments

Values

Description

--customer (-C)
<
value>

String (customer name, wildcards accepted) or integer (customer ID)

Specifies the customer of the file.

Do not use the --customer option with the --folder option. To use --customer, the --old option is also required.

If you specify --old, specifying --customer is required unless you are using --patchtype in oupload.

When you upload an AIX LPP file, or an HP-UX Depot that contains patches, it is associated with “Customer Independent” and this option is ignored.

When you upload an AIX Maintenance Level set of LPPs, you must associate them with “Customer Independent” so that all base filesets and update filesets contained in it are associated with the same customer

--feedback (-Q)

N/A

Displays feedback while the command runs. By default, this option is enabled.

Cannot specify this option with –q

--forcenooverwrite

N/A

This option prevents like files from being overwritten.

When used for oupload, if the file already exists in SA, the upload operation will be cancelled and the file will not be overwritten.

When used for odownload, if the file already exists locally, the download operation will be cancelled and the file will not be overwritten.

In both cases, no input is required.

 

Note
If there are multiple files for upload/download and the forcenooverwrite option is given, the files that already exist will be skipped. the operation itself will not be canceled.

--forceoverwrite

N/A

This option forces like files to be overwritten.

When used for oupload, if the file already exists in SA, it will be overwritten by the file being uploaded.

When used for odownload, if the file already exists locally, it will be overwritten by the file being downloaded. In both cases, no input is required.

--fr (-f) <value>

  • Alphanumeric
  • Period
  • Hyphen
  • Default = theword

Specifies the host name or IP address of the Software Repository.

--frport (-F)
<
port>

Integer

Default = 1003

Specifies the port of the Software Repository.

--fullhelp (-H)

N/A

Displays full help information.

Cannot specify this option with -h or –V

--help (-h)

N/A

Displays abbreviated help information.

Cannot specify this option with -H or –V

--nofeedback (-q)

N/A

Does not display feedback while the command runs.

Cannot specify this option with –Q

--old (-o)

N/A

Specifies that the operation behaves as in Server Automation 5.x. The file is not uploaded into a folder. The --old option is required if you specify --customer.

Using this option will make use of the agent certificates, and the user will not be prompted for any password

--os (-O) <type>

String (OS name, wildcards accepted)

Valid strings and integer values for the --os option

 

Specifies the operating system of the package.

Specifying this option is required.

If a value has a space in the name, enclose the entire name in quotes.

For Fujitsu Solaris 2.8, use the value for Solaris 8. For Fujitsu Solaris 2.9, use the value for Solaris 9.

--timeout (-z)
<
value>

Integer

Default = 60

Sets the timeout to the server in seconds.

--truthgw (-g)
<
value>

  • Alphanumeric
  • Period
  • Hyphen
  • Default = spin

Specifies the host name or IP address of the Data Access Engine.

--truthgwport (-G)
<
port>

Integer

Default = 1004

Specifies the port of the Data Access Engine.

--verbose (-v)

N/A

Displays debug information.

--version (-V)

N/A

Displays version information for the OCLI.

Cannot specify this option with -h
or –H.