IPC@CHIP® RTOS-LNX – API Documentation
Here is a short description of the IPC@CHIP® Web server.
The IPC@CHIP® web server provides information, e.g. HTML pages, over the Hypertext Transfer protocol (HTTP). The server can be accessed with any normal web browser.
The web server can be configured with the corresponding Webserver CHIP.INI entries.
The server can be suspended/resumed with the BIOS_Server_On_Off() API.
It is possible to upload a file to the Web server. The Upload will be handled using a HTML Form. The form has to include the following field:
DESTINATION-PATH (e.g. "A:\HELLO.EXE") REDIRECT-PATH (e.g. "A:\WEB\SUCCESS.HTM") FILE-CONTENT
The DESTINATION-PATH defines the name and the location where the file will be stored on the IPC@CHIP®'s drive. REDIRECT-PATH links to a file, which will be returned on a successful upload to the Browser. The file must be located on an IPC@CHIP®'s drive. The value of the field FILE-CONTENT will be handled from your Web Browser automatically. It allows the user to choose a local file from the PC's drive using the browse button (which appears with the type "file").
Password and user name for the File Upload are defined in the CHIP.INI (standard: web, web). For example you can use a form like the following one to upload a file to the IPC@CHIP®'s Web server: