Your problem seems to be here:
<form ... encrypt="multipart/form-data">
The attribute you are looking for isn't encrypt
, it's enctype
. Since you are missing the correct parameter your encoding isn't multipart-formdata so file uploads are ignored.