Command Line Utility Guide

Command Line Utility Guide

Unix Command

Unix Command

Navigate to the install folder and type:
infamftcmd.sh [-parameter] <value> [-command] <value>
The infamftcmd.sh command accepts the following parameters:
Parameter Name
Description
Required?
Default Value
server
The URL of the
Managed File Transfer
server. When running in a cluster environment, separate multiple server URL's with a comma. For example:
  • http://10.1.4.1:8000/informaticamft
  • https://10.1.4.1:8001/informaticamft
  • http://10.1.4.1:8000/informaticamft,http://10.1.4.2:8000/informaticamft
Yes
None
user
The user name for logging in to
Managed File Transfer
.
Yes
None
password
The password for the user account.
Yes*
None
passwordPrompt
You will be prompted to specify the password when the command is executed.
Yes*
None
passwordVariable
The password is stored in an environment or user variable in the system. Specify the variable name as the parameter, which is case sensitive.
Yes*
None
passwordFile
The password is stored in a file. Specify the full path to the file.
Yes*
None
passwordIsEncrypted
Specifies that a password is encrypted. Valid options are true or false.
No
None
listCommands
Lists the commands supported by the server.
No
None
command
The name of the command sent to the
Managed File Transfer
server.
No
None
commandHelp
Prints all supported parameters for the selected command to the console along with parameter descriptions.
No
None
version
Prints the installed version of the
Managed File Transfer
Command application on the local computer.
No
None
serverCertificateStore
The path to the key store containing the trusted certificates. This file is used for authenticating the server during the SSL handshake.
No
default
serverCertificateStorePassword
The password for the server certificate key store.
No
None
serverCertificateStoreType
The type of the server certificate key store. Valid options are JKS and PKCS12.
No
JKS
clientCertificateStore
The path to the key store containing the private keys and associated certificates. This key store is required if the target
Managed File Transfer
server requires client authentication using digital certificates.
No
default
clientCertificateStorePassword
The password for the client certificate key store.
No
None
clientCertificateStoreType
The type of the client certificate key store. Valid options are JKS and PKCS12.
No
JKS
verifyHostName
When connecting over SSL, whether or not to verify the host name with the host name listed on the digital certificate sent by the server. Valid options are true or false.
No
true
trustAll
Whether or not to authenticate the server. When this is set to true, all servers are considered as trusted, in other words, the server authentication will be skipped during the SSL handshake. Valid options are true or false.
No
None
proxyHost
The proxy host URL.
No
None
proxyPort
The port used by the proxy.
No
None
proxyUser
The user name used to log in to the proxy server.
No
None
proxyPassword
The password for the proxy user.
No
None
connectionTimeout
The number of seconds before a connection times out.
No
60
readTimeout
The socket timeout in seconds. If no data is transferred in this timeframe, the socket times out.
No
300
logFile
The file location for the
Managed File Transfer
Command log file.
No
[<installfolder>/informaticamftclient.log]
responseOutputFile
The file location and file name in which to save the response returned from
Managed File Transfer
. The format of the response is XML.
No
None
jvmconfig
Prints all of the system properties to the console, this is used for debug purposes only.
No
None
* Only one of the four password parameters should be specified.

0 COMMENTS

We’d like to hear from you!