NetBurner 3.5.0
PDF Version
 
HTML File Post

This example presents a web page with a field for selecting a file to upload to the NetBurner device. When the "Send File" button is selected, the upload is performed. The uploaded file is then displayed on the web page. A quick test is to send this example's ReadMe.txt file.

This example is similar to the examples\web\HtmlFilePost, with the addition of SSL/TLS capability.

Browsers are starting to require a valid certificate on the device, as well as the installation of the Certificate Authority (CA) certificate installed in the browser for self-signed certs. Receiving a warning message in the browser and selecting the option to continue anyway may work for variables posted in a form, but it will not work when posting a file.