How to POST files

Click here to return to the NetworkActiv Web Server description page

Click here to return to the NetworkActiv Web Server FAQ page

First of all, you must Enable (Allow) upload support and choose an upload folder in NetworkActiv Web Server before your clients can upload files to you.

To enable upload support and to choose an upload folder, please click on the button entitled Security options (located on the right side of the main dialog). On the right side of the Security options dialog there is a large square outline entitled Upload support. Within this large square outline is contained the security options pertaining to and including the ability to enable/disable upload support and the ability to choose an upload folder.

POSTing files using a form is a rather simple task. Using a simple text editor such as Notepad or Wordpad, copy and paste the following HTML text into a new text file.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
    "http://www.w3.org/TR/html4/strict.dtd">
<HTML>
 <HEAD>
  <TITLE>My Upload Page</TITLE>
  <STYLE>
   BODY{background-color:#DDDDFF;}
   FORM{margin:1.0em 0.0em 0.0em 0.0em;}
   H1{color:#00AA00;text-align:center;}
   P{text-align:center;border-width:0.2em 0.0em 0.2em 0.0em;border-style:double;padding:1.0em;}
  </STYLE>
 </HEAD>
 <BODY>
  <H1>Welcome to my Upload Page</H1>
  <P>
   Click the <I>Browse...</I> button and choose the file to upload, then click the <I>Upload</I> button.
   <FORM METHOD="post" enctype="multipart/form-data" ACTION="Upload.html">
    <INPUT type="file" name="Blank" value="">
    <INPUT type="submit" value="Upload">
   </FORM>
  </P>
 </BODY>
</HTML>

After you paste this text into the text editor, save the new text file as Upload.html. For it to save the file with the correct file extension, you may need to choose the All Files option from the Save as type: dropdown list on the Save or Save as dialog.

Make sure you save the file to a location somewhere within a folder that you are currently serving. If you have done this all correctly, when you access the file via a web browser, you should have a form with an appearance similar to the following: