Design website, directly providing file upload mechanisms on the webpage is a common function, such as: uploading photos, uploading personal web, etc. In this article, it is not a general FTP file upload function, but refers to the use of Multipart / Form-Data Protocol, through the HTTP Port, directly upload the files on the netizen computer to Web Server, and the web server is similar to the CGI mechanism. , Receive files and process it. Multipart / Form-Data Protocol Description: Before you perform an archive upload mechanism, let's first understand how the browser uploads the file to Web Server, first understand this mechanism, will help the program. The browser uploads the file through the HTTP to Web Server, is the definition of standard multipart / form-data, the original file is defined as follows: http://www.faqs.org/rfcs/rfc2388.html. It is a bit difficult to see the original file, because the file is based on several RFC definitions, in order to make you quick understanding, here the example will be used. When defining