Upload .apk to the website server, and upload .apk to the server.

Source: Internet
Author: User
Tags mime file website server

Upload .apk to the website server, and upload .apk to the server.

To solve this problem, upload the apk to the server and download it through the access link.

Solution: Set the MIME type of IIS to enable IIS web download to support multiple file types, including APK and other files

1. Open the IIS website, right-click Properties, find the HTTP header, and find the MIME type

Click new build, add the extension name, .apk, and then write application/vnd. android. package-archive in the following type so that you can directly download and install the APK file with the android mobile phone!



2. What is MIME?
In the past, there were a lot of people who could not download the ISO file on the website, that is, the file type was missing in this step.

Users can use MIME to set the server to transmit multimedia such as sound and animation information, which may be done through CGI scripts. In the following article, you can learn about MIME and how to use MIME on the network.

MIME is a technical specification. It was originally used for email, and can now be used in a browser to transmit information that can be recognized by the browser. It is very difficult to understand MIME knowledge, some basic computer concepts can be understood, but if you want to use them further, you must pay attention to the content. In fact, we have reached the MIME when surfing the Internet, but the browser and server are implemented at the underlying layer.

MIME is sometimes incorrectly resolved to Multimedia Internet Mail Extensions. This is an error, but MIME is often used in Multimedia applications on the Internet, therefore, people think that this is a multimedia Mail extension, but in fact it should be called a multi-purpose Internet Mail Extension (Multipurpose Internet Mail Extensions). Note this 1.1, because sometimes there are no non-text components in the content. MIME is a huge extension to the mail system, because before MIME appears, if the letter content needs to include sound and animation, it must be converted into an ASCII code or binary information into a standard that can be transmitted, and the receiver must be decoded to obtain sound and picture information. MIME provides a method for attaching multiple encoding files to an email. This is very different from the original email. Now MIME has become part of the HTTP protocol standard.

MIME is the main method used by the server to notify the client of the type of file to be transmitted. The client browser also tells the server its parameters through MIME. On the Internet, if the received file does not have a MIME header, it is in HTML format by default. But this is also not good, because when the MIME header is text/plain, the browser will directly display it, regardless of its font, color, and other parameters, the displayed content is not very nice.

What the MIME header looks like depends on whether it is used in an email or in a browser. The content of the two may be different. For the mail header, the version number, content type declaration, encoding method, and content description are essential. This is the format used in the mail header. Below, we will focus on Transmitting the MIME header in HTTP. At this time, the MIME header should be simpler.

The final conclusion should be good at modifying the MIME file type.


I have prepared an apk. If I want to put this apk on my own website for everyone to download, what should I set for my IIS server?

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.