9.2.5.5 ahfctl unsetupload

Use the ahfctl unsetupload command to unset the configured upload parameters.

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

Syntax

ahfctl unsetupload -name <config_name> {-all | <config_parameter> ...
} [Options]

Options:
  -h, --help      show this help message and exit
  -debug          Debug Script

Config parameters:
  -user           
  -password       
  -server         
  -url            
  -storetype      
  -proxy          
  -secure         
  -connectstring  
  -uploadtable    
  -noauth         
  -https_token    
  -request        
  -header
  -port

Parameters

Table 9-22 ahfctl unsetupload Command Parameters

Parameter Description

all

All of the parameters.

name

Specify the name of your configuration. For example, mosconfig to upload to My Oracle Support.

user

Specify the user who has the privileges to access the endpoint. For example, upload.user@example.com.

password

Specify the password of the user.

server

Specify the name of the server to which you have uploaded the files. For example, bugsftp.example.com.

url

Specify the target URL to which you have uploaded the files in case of HTTPS type. For example, https://samplehost.com.

-storetype

Specify the storetype. For example, casper.

proxy

Specify the URL of the proxy server. For example, www.example.com:80.

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.

connectstring

Specify the database connect string to log in to the database where you have uploaded files.

For example, (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = host)(PORT = 1521))(CONNECT_DATA =(SERVER = DEDICATED)(SERVICE_NAME = orcl))).

uploadtable

Specify the name of the table where you have uploaded the files as BLOB type.

For example, for uploading Oracle Orachk collections to the Collection Manager it is set to RCA13_DOCS.

noauth

Specify true and false. Default value is false.

If noauth is set to true, then HTTPS upload will skip authentication.

For example, upload files to PAR, Pre Authenticated URL where no user/password authentication is required.

https_token

Specify any static header values while configuring. For example, set auth tokens while configuring the HTTPS end point.

You can also pass dynamic headers at upload time by passing the -https_token headers command option to tfactl upload command.

For example: -H 'X-TFA-REQUESTID: 1'.

request

Specify the request type, for example, POST.

header

Stores the executionId in the ahf.properties file.

For example, to set the header:ahfctl setupload -name a1 -type https -header X-TFA-HEADERS:executionId=aeldb1db01_2020.06.16_19.20.55.15336025

ahfctl unsetupload -name mos -all
ahfctl unsetupload -name mos -url -secure