Sample File Upload Form

This page allows you to upload a file. Note that the Sambar Server limits the size of POST content to around 50k (so that the server doesn't get swamped with data). This parameter is configurable in the config.ini file (Maximum Content-Length). Only localhost (127.0.0.1) is permitted to upload scripts (see cgi-bin/upload.pl to customize this).

The file upload form looks just like any other form except that:

You can do a view source on this document to see all the elements. Uploaded files are placed in the upload directory.


File Upload Form

File to upload
File name