upload_file.html

<form action="/txt/upload_file" method="POST" enctype="multipart/form-data">

<div>

<label for="file-to-upload">select file to upload:</label>

</div>

<div>

<input type="file" name="file-to-upload" id="file-to-upload">

</div>

<div>

<input type="checkbox" name="is_bin" id="is_bin" value="true">

<label for="is_bin">upload as bin</label>

</div>

<div>

<input type="checkbox" name="is_private" id="is_private" value="true">

<label for="is_private">private file</label>

</div>

<div>

<input type="checkbox" name="is_temp" id="is_temp" value="true">

<label for="is_temp">temp file</label>

</div>

<div>

<input type="submit" value="Upload">

</div>

</form>

raw edit