File upload request_content

I want to do a http post with a file upload to a lotuscript agent. The data comes in the request_content variable, but how do I decode/save the file from that field. I can’t seem to find info on how to do this with lotuscript. I can parse out field variables, but how do a get the file?