Running AHFCTL Commands to Manage Service Upload Parameters

You need root access to ahfctl, or sudo access to run getserviceupload, setserviceupload, and unsetserviceupload commands.

Note:

The ahfctl getserviceupload, ahfctl setserviceupload, and ahfctl unsetserviceupload commands have been deprecated and removed in 23.3. Oracle recommends using the following commands instead.

  • ahfctl getupload replaces ahfctl getserviceupload
  • ahfctl setupload replaces ahfctl setserviceupload
  • ahfctl unsetupload replaces ahfctl unsetserviceupload

ahfctl getserviceupload

Use the ahfctl getserviceupload command to get service upload parameters.

You can run the getserviceupload command as root or a non-root user.

Syntax

ahfctl getserviceupload
[-h][--help]
[-all]
[-user USER]
[-password]
[-url URL]
[-proxy PROXY]
[-storetype STORETYPE]
[-secure SECURE]

Parameters

ahfctl getserviceupload Command Parameters

ParameterDescription
allAll of the parameters.
userSpecify the user who has the privileges to access the endpoint. For example, upload.user@example.com.
passwordSpecify the password of the user.
urlSpecify the target URL to upload files in case of HTTPS type. For example, https://samplehost.com.
proxySpecify the URL of the proxy server. For example, www.example.com:80.
storetypeSpecify the Keystore format, for example, JKS and PKCS12.
secure

Specify true or false. Default value is true.

Specifying the secure value checks for certificates.

If secure is set to false, then the upload command will run an unsecure upload.

ahfctl setserviceupload

Use the ahfctl setserviceupload command to set service upload parameters.

You can run the setserviceupload command as root or a non-root user.

Syntax

ahfctl setserviceupload
[-h][--help]
[-all]
[-user USER]
[-password]
[-url URL]
[-proxy PROXY]
[-storetype STORETYPE]
[-secure SECURE]

Parameters

ahfctl setserviceupload Command Parameters

ParameterDescription
allAll of the parameters.
userSpecify the user who has the privileges to access the endpoint. For example, upload.user@example.com.
passwordSpecify the password of the user.
urlSpecify the target URL to upload files in case of HTTPS type. For example, https://samplehost.com.
proxySpecify the URL of the proxy server. For example, www.example.com:80.
storetypeSpecify the Keystore format, for example, JKS and PKCS12.
secure

Specify true or false. Default value is true.

Specifying the secure value checks for certificates.

If secure is set to false, then the upload command will run an unsecure upload.

ahfctl unsetserviceupload

Use the ahfctl unsetserviceupload command to unset service upload parameters.

You can run the unsetserviceupload command as root or a non-root user.

Syntax

ahfctl unsetserviceupload
[-h][--help]
[-all]
[-user USER]
[-password]
[-url URL]
[-proxy PROXY]
[-storetype STORETYPE]
[-secure SECURE]

Parameters

ahfctl unsetserviceupload Command Parameters

ParameterDescription
allAll of the parameters.
userSpecify the user who has the privileges to access the endpoint. For example, upload.user@example.com.
passwordSpecify the password of the user.
urlSpecify the target URL to upload files in case of HTTPS type. For example, https://samplehost.com.
proxySpecify the URL of the proxy server. For example, www.example.com:80.
storetypeSpecify the Keystore format, for example, JKS and PKCS12.
secure

Specify true or false. Default value is true.

Specifying the secure value checks for certificates.

If secure is set to false, then the upload command will run an unsecure upload.