in reply to How to File Transfer via POST?

Most likely you want to use CGI, which handles saving the file and MIME-decoding the data stream for you.