How can I use the request

I want to upload a file,and I can’t use the file upload dialog.I use
xmlhttp to send the file in a xmlhttp request,and how can I get the file
at serverside? Here is the client code