PUT Method (By Specifying Parameters)

You can use the PUT method (sending) to send the file to HULFT on the remote machine by specifying parameters necessary for the file transfer.

Command

webconnect-transfer-cli put -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

put

Indicates the PUT command (Mandatory)

-file filePath

Full path of the file to be sent to HULFT on the remote machine (Mandatory)

-f fileId

File ID registered in the Receive 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 : Receiving 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.