UPDATE CGI Program

 

 


This CGI provides the functions to upload the binary image or configuration to the device's flash and retrieve the configuration from the device.

The are two stages of these URLs. The first stage is the URL command using HTTP GET method to send the file upload form to remote host. In the second stage, the remote host upload its image file to the device through HTTP POST method.

After the execution of the URL, the device configuration will be saved to the flash before be rebooted. The remote host has to wait for the reply message to know if the file upload process is successful or not. Please refer the return of URL for further details.

Only root could use URLs in UPDATE CGI. The error message, not authorized, will be returned if the logon user level is not root or the account or password is not correct.

In the Multiple Channel Encoders, the CHANNEL command will be used to for the specific channel video server for CONFIG_GET and CONFIG_SET. The CHANNEL is not used in rest of URLs.

The URL Type1 format is supported only in this CGI and there must be only one command in an URL command.

List of URLs

URL Attribute1
latformW PlatformA PlatformT PlatformK Multiple Channel Encoder
Encoder Decoder Encoder Decoder Encoder Decoder Camera Router Video Server3
CONFIG_GET RO RO RO RO RO RO RO RO None
CONFIG_SET WO WO WO WO WO WO WO WO None
FIRMWARE WO WO WO WO WO WO WO WO None
FIRMWARE_ALL None None None None None None None WO None
PROFILE None None WO None WO None None WO2 None
PROFILE_PACK None None WO None WO None None WO2 None
PTZ_IMAGE None None WO None WO None None None None
ISP_IMAGE None None None None None None WO None None
ISP_FIRMWARE * None None None None None None WO None None
ISP_DEV * None None None None None None WO None None
ISP_HARDWARE * None None None None None None WO None None
HTTPS_CER None None RW,X None RW,X None RW,X None None
8021X_CA None None RW,X None RW,X None RW,X None None
8021X_USERCA None None RW,X None RW,X None RW,X None None
8021X_USERKEY None None RW,X None RW,X None RW,X None None
*: the URL will be not longer used. It will be replacted with ISP_IMAGE URL.

Foot Note

1 Access Mode. It could be RW (Readable and Writable), RO (Read Only), WO (Write Only) or None (not supported)
2 Only available in 4CH and 16CH Encoder devices in the Multi-Channel Encoder Platform
3 All URLs will be handled by the Router. The Router will parser the URL to video server depends on the URLs

Back to

HOME