you form tag:
needs a name attribute, method and encoding type:
<form method="post" enctype="multipart/form-data" id="upload_file">
If you use the DW Insert menu to add the form in design view, and the file element, these attributes are added automatically. If you add the elements into code view, you need to add them manually.