Cisco Systems WVC80N manual CGI Commands, Upload/Download Configuration, Appendix D

Models: WVC80N

1 66
Download 66 pages 1.74 Kb
Page 36
Image 36
Upload/Download Configuration

Appendix D

CGI Commands

Upload/Download Configuration

Download Configuration Content

Method: GET

URL:http://<ip>/adm/admcfg.cfg

Return:

HTTP/1.0 200 OK \r\n

content-type: application/configuration\r\n \r\n

<configuration content encoded in Base64 format>

All data in the configuration is encoded in a Base64 format. Please refer to the encoder/decoder sample codes at the end of this appendix.

To validate the data, there is a hidden checksum inside the configuration content. Because the dword-aligned checksum algorithm is used, the last data misaligned by dword can be ignored.

Upload Configuration Content

Method: POST

URL:http://<ip>/adm/upload.cgi

Message body:

<boundary=...>

<configuration content encoded in Base64 fvormat>

All data in the configuration is encoded in a Base64 format. Please refer to the encoder/decoder sample codes at the end of this appendix.

The Camera automatically reboots after receiving and loading the configuration content. Return:

HTTP/1.0 200 OK \r\n

content-type: text/plain\r\n

\r\n

OK\r\n

Wireless-N Internet Home Monitoring Camera

35

Page 36
Image 36
Cisco Systems WVC80N manual CGI Commands, Upload/Download Configuration, Appendix D, Download Configuration Content