Vivotek MD9584-HF3 5MP Outdoor Network Mobile Dome Camera with Night Vision, Heater & 3.6mm Lens User Manual
Page 447

VIVOTEK
User's Manual - 447
© 2022 VIVOTEK INC. All Right Reserved
316
POST and “content-type: multipart/form-data”.
HTTP headers with its name=”parameter” or
name=” uploadKeyFile” will be describing the
request body, see examples below.
* Required when operation=manualmode
address
sftp server address or hostname
* This field is required.
port
sftp port
index
0~4
Event setting server index
* This field is required.
username
string[64]
Sftp server username
* This field is required.
passwd
string[64]
Sftp server password
* Required when operation=automode.
fingerprint_enable
Verify fingerprint
* Default is 1.
fingerprint_content <128-bit hash value>
Fingerprint content
* Required when fingerprint_enable=1.
passphrase_enable
Enable passphrase
* Only valid when operation=manualmode and
key=upload.
passphrase_content <128-bit hash value >
Passphrase
* Only valid when operation=manualmode and
key=upload.
location
string[128]
sftp server file location
name
string[40]
Username for server_i
* The default value is sftp
© 2022 VIVOTEK INC. All Right Reserved
317
keytype
ed25519, rsa, ecdsa
"ed25519":
faster to generate with higher
security level, some old server might not support.
"rsa":
slower to generate with slightly lower
security level than ed25519.
"ecdsa":
low security level.
A keytype will be automatically selected if the
parameter is not provided. The selected order
will be ed25519/rsa/ecdsa until successful
pairing, an error message will return if all keytype
failed.
* Required when operation=download.
Example of download key:
Request:
http://
1&address=
Response of success:
HTTP/1.1 200 OK\r\n
Content-Type: text/plain\r\n
Content-Length:
\r\n
ok
Request:
http://
1&address=
Response of failure:
HTTP/1.1 200 OK\r\n
Content-Type: text/plain\r\n
Content-Length:
\r\n
ERROR: Invalid keytype
Example of upload private key:
POST http://172.16.219.217/cgi-bin/admin/sftpclient.cgi HTTP/1.1