CGI

Maintain CGI

Version / Author / DateModify
1.0/David/2013-03-30First edition

Overview

User CGI IP Camera maintenance operations

Backup IP Camera parameter settings

Backup.cgi

  • Permissions requirements:
Administrative privileges
  • Syntax:
/ Backup.cgi [? User = & pwd = & session = & filename =]
  • Parameters:
User / pwd: Parameter authentication method required to login username / password
session: Session authentication method required to Session ID
filename: save the name of the parameter file, if not set this parameter is set to null, as compared to the default values.
  • Returns:
Parameter file.
  • Example:
Http://192.168.0.188/backup.cgi?session=1891048766

Using the specified file recovery parameter settings of the IP Camera

Restore.cgi

  • Description:
IP Camera parameter settings using the specified file recovery, the CGI must use the Post method the Post data format to multipart / form-data, the data content of the Post parameter file you want to restore. After recovery, the device must be restarted to take effect
  • Permissions requirements:
Administrative privileges
  • Syntax:
/ Restore.cgi [? User = & pwd = & session = & json = & jsonp_callback = & next_url =]
  • Parameters:
User / pwd: Parameter authentication method required to login username / password
session: Session authentication method required to Session ID
json / jsonp_callback: return the json type of data set
next_url: return to the page after the successful operation.
  • Returns:
[The text @ operating results or specified page@]
  • Example:
<form Method="post" enctype="multipart/form-data"> <td> <input type="file" name="file" size="20"> <button onClick = "form.action = 'http://192.168.0.188/restore.cgi?next_url=reboot.htm&session=1891048766'; form.submit ()">

Restore factory parameters IP Camera Settings

Restore_factory.cgi

  • Permissions requirements:
Administrative privileges
  • Syntax:
/ Restore_factory.cgi [? User = & pwd = & session = & json = & jsonp_callback = & next_url =]
  • Parameters:
User / pwd: Parameter authentication method required to login username / password
session: Session authentication method required to Session ID
json / jsonp_callback: return the json type of data set
next_url: return to the page after the successful operation.
  • Returns:
[The text @ operating results or specified page@]
  • Example:
Http://192.168.0.188/restore_factory.cgi?session=1891048766

System firmware upgrade IP Camera using the specified file or the Web UI

Upgrade.cgi

  • Description:
Upgrade IP Camera using the specified file system firmware or Web UI. The CGI must use the Post method, the data format for the Post multipart / form-data, the data content of the Post for the program files you want to upgrade. After the upgrade, the device must be restarted to take effect.
  • Permissions requirements:
Administrative privileges
  • Syntax:
/ Upgrade.cgi? Type = [& user = & pwd = & session = & json = & jsonp_callback = & anyway = & next_url =]
  • Parameters:
User / pwd: Parameter authentication method required to login username / password
session: Session authentication method required to Session ID
json / jsonp_callback: return the json type of data set
type: 0: upgrade the system firmware; 1: Upgrade Web UI
anyway: it is mandatory to upgrade the system firmware, if not set this parameter is set to empty, it is not mandatory to upgrade.
: Not checked to upgrade the system firmware and equipment system firmware matching, mandatory upgrade.
No: The system firmware matching check to upgrade the system firmware with the device itself, if not match, an error is returned, without upgrading.
next_url: return to the page after the successful operation.
  • Returns:
[The text @ operating results or specified page@]
  • Example:
<form Method="post" enctype="multipart/form-data"> <td> <input type="file" name="file" size="20"> <button onClick = "form.action = 'http://192.168.0.188/upgrade.cgi?type=0&anyway=1&next_url=reboot.htm&session=1891048766'; form.submit ()">
Mandatory upgrade system firmware
<form method="post" enctype="multipart/form-data"> <td> <input type="file" name="file" size="20"> <button onClick = "form.action = 'http://192.168.0.188/upgrade.cgi?type=1&next_url=reboot.htm&session=1891048766'; form.submit () ">
Upgrade Web UI
Copyright:Shenzhen Reecam Tech. Ltd.

ICP:粤ICP备09050685号 Technical support:800069965