6 upgrade firmware – Vivotek S Series IZ9361-EH 1080p Outdoor Network Bullet Camera with Heater User Manual

Page 405

Advertising
background image

VIVOTEK

User's Manual - 405

© 2020 VIVOTEK INC. All Right Reserved

250

PARAMETER

VALUE

DESCRIPTION

username

<name>

The name of the user to add, delete, or edit.

userpass

<value>

The password of the new user to add or that of the old
user to modify. The default value is an empty string.

privilege

view

The privilege of the user to add or to modify.

“view”

: Viewer privilege.

“operator”

: Operator privilege.

“admin”

: Administrator privilege.

operator

admin

return

<return page>

Redirect to the page <return page> after the parameter is
assigned. The <return page> should be the relative path
according to the root of camera. If you omit this
parameter, it will redirect to an empty page.
* If the <return page> is invalid path, it will ignore this
parameter.

Note:
1.

Rules of password settings is defined by layout_defaultpassword group.

Example:
Request:

http://myserver/cgi-bin/admin/editaccount.cgi?method=add&username=test&userpass=123&privi
lege=view

Response of success:

HTTP/1.1 200 OK\r\n
Content-Type: text/html\r\n
Content-Length: 2\r\n
\r\n

Response of failure:

HTTP/1.1 200 OK\r\n
Content-Type: text/html\r\n
Content-Length: <Error Message Length>\r\n
\r\n
<Error Message>

List of error message:

ERROR: Add user fail!
ERROR: Delete user fail!
ERROR: Update user's password fail!

© 2020 VIVOTEK INC. All Right Reserved

251

ERROR: Update user's privilege fail!

8.6

Upgrade Firmware

Note:

This request requires Administrator privileges.

Method: POST

Syntax:

http://<

servername

>/cgi-bin/admin/upgrade.cgi


Post data:
fimage=<file name>[&return=<return page>]\r\n
\r\n
<multipart encoded form data>

Server will accept the file named <file name> to upgradethe firmware and return with <return
page> if indicated.

Advertising