Doing a POST with an input type="file" does not attach the file. There is a multipart request generated, but the contents of the file are not included.
I think this is no longer relevant. Sorry.