Skip to main content

Client Command (hmv)

The hmv commands are used to transfer files or directories to and from the remote server or hcpd server.

Basic Format

The basic format is as follows.

Usage: hmv [OPTION]... [USER@]HOST[:PORT]:SOURCE :DEST
or: hmv [OPTION]... [USER@]HOST[:PORT]:SOURCE [:SOURCE]... :DIRECTORY
or: hmv [OPTION]... --host=HOST [--port=PORT] [--user=USER] SOURCE DEST
or: hmv [OPTION]... --host=HOST [--port=PORT] [--user=USER] SOURCE... DIRECTORY

Option List

The options for the hmv commands are below.

File Move

DescriptionShort NameOption Name
Force overwriting in the destinationfforce
Interactive overwriting in the destinationiinteractive
Prohibited overwriting in the destinationNno-overwrite
Set the remote hosthost
Set the remote portport

Selectable Communication Method Function

DescriptionShort NameOption Name
The HpFP protocolhpfp
The WebSocket protocol(SSL/TLS)wss
The port-separation UDP(HpFP) protocol(deprecated)udp
The WebSocket protocol (plaintext communications)ws
Directly connect to the Proxy server when the WebSocket protocolws-proxy-direct
Set the Proxy server when the WebSocket protocolws-proxy

Congestion Control

DescriptionShort NameOption Name
Congestion control modes in the HpFP protocolhpfp-cong

Data Flow Control, Message Data Size Control

DescriptionShort NameOption Name
MSS(Maximum Segment Size) in the HpFP protocolhpfp-mss

Data Flow Control, Data Buffer Setting

DescriptionShort NameOption Name
Set the sending buffer size for the HpFP protocolhpfp-sndbuf
Set the receiving buffer size for the HpFP protocolhpfp-rcvbuf

Authentication

DescriptionShort NameOption Name
Server certificate checking is disabled in WebSocket protocol communicationswss-no-check-certificate
Specify a username first and file moveuser
Specify a password first and file movepassword

Various Monitorings

DescriptionShort NameOption Name
Investigation mode starts (deprecated)investigation

Log Management

DescriptionShort NameOption Name
Specify an application diagnostic log output destinationhcp-diag
Specify various statistics log output destinationsstat-log-file
Specify an execution record output destinationhcp-out
Start in the multiple-run modemulti-run

Software Information Update

DescriptionShort NameOption Name
Check the application versionVversion
Check the configuration and input parametersconfig-test
Display the command helphhelp

System Operating Environment Settings

DescriptionShort NameOption Name
Setting form a path of the configuration fileconfig-file
Make configuration from command lineconfig-option
Show configuration option's namesshow-config-options
Setting by a relative path from the current directoryinclude-conf-from-cwd
Server compatibility disabledno-earlier-serv-compat

Check System Information

DescriptionShort NameOption Name
Show system infosystem-info
Run host benchmarkrun-host-benchmark
Specify measurement categories on the benchmarkrun-host-benchmark-categories

Please refer to the hcpd command section on the following option.

--investigation

Please refer to the hcp command section on the following option.

--hpfp, --wss, --user, --password, --config-file, --config-option, --show-config-options, --system-info, --run-host-benchmark, --run-host-benchmark-categories, --hcp-diag, --stat-log-file, --udp, --ws, --wss-no-check-certificate, --ws-proxy-direct, --ws-proxy, --hpfp-cong, --hpfp-mss, --hpfp-sndbuf, --hpfp-rcvbuf, --multi-run, --include-conf-from-cwd, --no-earlier-serv-compat, --no-agent, --ident-select

File Move

f, force

=========================================================================
Supported OS : Linux / Windows / Mac
Format : -f | --force
=========================================================================

When the same file or directory exists in the destination, it is overwiten.

--
Example:
[user@localhost ~]$ hmv -f ...
--

i, interactive

=========================================================================
Supported OS : Linux / Windows / Mac
Format : -i | --interactive
=========================================================================

When the same file or directory exists in the destination, a confirmation for overwriting it is taken place.

--
Example:
[user@localhost ~]$ hmv -i ...
--

N, no-overwrite

=========================================================================
Supported OS : Linux / Windows / Mac
Format : -N | --no-overwrite
=========================================================================

When the same file or directory exists in the destination, the process is skipped without overwriting.

--
Example:
[user@localhost ~]$ hmv -N ...
--

host

=========================================================================
Supported OS : Linux / Windows / Mac
Format : --host=<remote-host>
-------------------------------------------------------------------------
remote-host
Default : none
Range of Values : IP address or host name
=========================================================================

The remote host in the destination is specified. It is used for the path to set the source and the destination. With this parameter, the hostname of this parameter can be abbreviated.

--
Example:
[user@localhost ~]$ hmv --host=192.168.100.100 ...
--

port

=========================================================================
Supported OS : Linux / Windows / Mac
Format : --port=<remote-port>
-------------------------------------------------------------------------
remote-port
Default : none
Range of Values : port number
=========================================================================

The service port number for the remote host of the destination is set.It is also used for the path to identify the source and destination.

--
Example:
[user@localhost ~]$ hmv --port=1874 ...
--

Log Management

hcp-out

=========================================================================
Supported OS : Linux / Windows / Mac
Format : --hcp-out=<output-path>
-------------------------------------------------------------------------
output-path
Default : none
Range of Values : path string of file system
=========================================================================

The file to output the execution record of moving directories is set.

--
Example:
[user@localhost ~]$ hmv --hcp-out=- ...
SRC0 127.0.0.1:1874:/home/user/Desktop/hcp_hmv01.txt
SRC1 127.0.0.1:1874:/home/user/Desktop/hcp_hmv02.txt
DST 127.0.0.1:1874:/home/user/Desktop/hcp_hmv_dir
OK 0000 FM 00000001 /home/user/Desktop/hcp_hmv01.txt
OK 0000 FM 00000002 /home/user/Desktop/hcp_hmv02.txt
EXIT 0 REASON 0000
[user@localhost ~]$
--

--
Example:
[user@localhost ~]$ hmv --hcp-out=- ...
--

Software Information Update

V, version

=========================================================================
Supported OS : Linux / Windows / Mac
Format : -V | --version
=========================================================================

The hmv command version is shown.

--
Example:
[user@localhost ~]$ hmv -V
hmv client (hmv) 1.5.8_1 / Linux (HpFP2 2.0.0.91_26 WSAPI 0.0.1.36 WS 4.2.0-2)
--

config-test

=========================================================================
Supported OS : Linux / Windows / Mac
Format : --config-test
=========================================================================

The available parameter for the hmv commands and the configuration information are output.

--
Example:
[user@localhost ~]$ hmv --config-test
...

-- [Sources] ---------------------------------------------------------------
-- [Destination] -----------------------------------------------------------
-- [Command Options] -------------------------------------------------------
force : disable
interactive : disable
no-overwrite : disable
host : -
port : -
user : -
password : -
version : disable
help : disable
-- [Configuration Parameters] ----------------------------------------------
PubkeyAuthentication : yes
WinLogonUserAuthentication : yes
PAMAuthentication : yes
LocalPasswordAuthentication : yes
NumberOfPasswordPrompts : 3
CompressLevel : -1
StrictHostKeyChecking : ask
IdentityFile : - [~/.ssh/id_rsa ~/.ssh/id_ecdsa ~/.ssh/id_ed25519 ~/.hcp/id_rsa ~/.hcp/id_ecdsa ~/.hcp/id_ed25519]
MaxReceiveRate : 100000000000
MaxSendRate : 100000000000
MaxConnectionReceiveRate : 100000000000
MaxConnectionSendRate : 100000000000
TransportTimeout : 180 sec
AcceptableCryptMethod : AES256/GCM AES256/CTR/VMAC AES256/CBC AES128/CBC [Intel:AES-NI=yes]
AcceptableDigestMethod : XXH3 SHA256 SHA160
-- [Environment Variables] -------------------------------------------------
USER : user
LOGNAME : user
HCP_PASSWORD :
HCP_WS_PROXY :
----------------------------------------------------------------------------

Please type '--config-test --config-test ...' for more details.
--

h, help

=========================================================================
Supported OS : Linux / Windows / Mac
Format : -h | --help
=========================================================================

The hmv command help is shown.

--
Example:
[user@localhost ~]$ hmv -h
--