Upload. apk to website server download

Source: Internet
Author: User
Tags mime file website server

Just solve a problem, do a good apk upload to the server, download apk by visiting the link.

WORKAROUND: Set the MIME type of IIS to allow IIS Web download to support multiple file types including apk and other files

1. Open the IIS Web site, right-click Properties, locate the HTTP header, locate the MIME type

Click New, add Extension,. apk, and then type write application/vnd.android.package-archive This allows you to download and install the APK file directly from your Android phone!



2. The following describes what MIME
There used to be a lot of people. The ISO file is not available for download on the website, it is missing this step to add the file type.

Users can use MIME to set up the server to transfer multimedia such as sound and animation information, which can be done through CGI scripts. In the following article, you can learn about mime and the knowledge about using MIME on the network.

MIME is a technical specification, it was originally used for e-mail, it can now be used in the browser, to transmit information that can be recognized by the browser, the knowledge about MIME is very difficult to understand, there are some basic computer concepts can be understood, but if you want to further use, you must pay attention to the content. In fact, we have access to MIME when surfing the Internet, but the browser and server are implemented at the bottom.

MIME is sometimes mistakenly understood as a multimedia Internet Mail extension (multimedia, Internet Mail Extensions), which is an error, but MIME is often used on the web for multimedia applications, so people think it's a multimedia mail extension, In fact, it should be known as the Multipurpose Internet Mail Extension (multipurpose, Internet Mail Extensions), which must be noted, because sometimes there is no non-textual component in the content. The MIME extension to the messaging system is huge, because before the MIME appears, the content of the letter must be ASCII or the binary information becomes the encoding standard that can be transmitted, and the receiver must be decoded before it can get the sound and picture information. MIME provides a way to attach a number of different encoded files to a message. This is significantly different from the original email. Now MIME has become a part of the HTTP protocol standard.

MIME is the primary method by which the server notifies the client of what type of file to transfer, and the client browser tells the server its parameters through mime. On the web, if the received file does not have a MIME header, it defaults to HTML format. But this is not good, because when the MIME header is Text/plain, the browser will display directly without concern about its font, color and other parameters, so that the content is not very good-looking ah.

The MIME header looks like it is used in an e-mail message or in a browser, and the content may be different. For the message header, the version number, content type declaration, encoding method, content description is necessary. This is the format for the message header, and below we will focus on transmitting the MIME header in HTTP, where the MIME header is simpler.

The final conclusion is to be good at modifying MIME file types.

Upload. apk to website server download

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.