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
…
<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
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
…
\r\n
OK\r\n
35 |