GET Method (By Specifying Parameters)
You can use the GET method (send request) to receive the file from HULFT on the remote machine by specifying parameters necessary for the file transfer.
Command
webconnect-transfer-cli get -file filePath -f fileId -h connectionId_agentId_host:port [-msg0 message] [-msg1 message] [-msg2 message] [-msg3 message] [-msg4 message] [-msg5 message] [-msgl0 message] [-msgl1 message] [-c filePath]
Explanation of Parameters
- get
-
Indicates the GET command (Mandatory)
- -file filePath
-
Full path of the file that stores the data received from HULFT on the remote machine (Mandatory)
- -f fileId
-
File ID registered in the Send Management Information of HULFT on the remote machine (Mandatory)
- -h connectionId_agentId_host:port
-
Host information of the remote machine (Mandatory)
Specify 'Connection ID of Agent on the remote machine', 'Agent ID of Agent on the remote machine' and 'Host name of HULFT on the remote machine : Request acknowledge port number' by delimiting them by underscores.
- -msg0 message - -msg5 message
-
Messages to be sent to HULFT on the remote machine (Optional)
Specify a character string within 50 bytes.
- -msgl0 message - -msgl1 message
-
Long messages to be sent to HULFT on the remote machine (Optional)
Specify a character string within 200 bytes.
- -c filePath
-
Full path of the CLI configuration file (Optional)
If this option is not specified, '{CLI installation directory}/config/transfer-cli.conf' will be referenced.
For details on the CLI configuration file, refer to CLI Settings.