I have a document with a input type="file" and a submit button. After I click submit button, the following action is performed:
- attach the file to the document
- do something with the file content...
- deattach the file out of the document
 
Can I reuse the action /xwiki/bin/upload/.. to write my action ?