for file upload to work, the forms encoding type must be set to multipart/form-data:
change the form tag:
<form name="editprodFORM" id="editprodFORM" method="POST">
to:
<form name="editprodFORM" id="editprodFORM" method="POST" enctype="multipart/form-data">