Solution to 404 error when downloading apk file from IIS server

Solution to 404 error when downloading apk file from IIS server

Recently, when using IIS as a server, the apk file has been uploaded to the server, but it cannot be downloaded, reporting a 404 error (not found). The screenshot is as follows:

Solution:

Add the MIME type in IIS Manager, as shown below:

Add the following content:

The file extension is: .apk, and the MIME type is: application/octet-stream

You can also add it like this: File extension: .apk MIME type: application/vnd.android.package-archive

Finally tested and the problem was solved.

<<:  A brief analysis of the usage of USING and HAVING in MySQL

>>:  React+TypeScript project construction case explanation

Recommend

Analyze Mysql transactions and data consistency processing issues

This article analyzes the consistency processing ...

Install Docker environment in Linux environment (no pitfalls)

Table of contents Installation Prerequisites Step...

Example of implementing skeleton screen with Vue

Table of contents Skeleton screen use Vue archite...

Understand all aspects of HTTP Headers with pictures and text

What are HTTP Headers HTTP is an abbreviation of ...

MySQL Server IO 100% Analysis and Optimization Solution

Preface During the stress test, if the most direc...

VUE implements timeline playback component

This article example shares the specific code of ...

Navicat connection MySQL error description analysis

Table of contents environment Virtual Machine Ver...

Detailed explanation of when javascript scripts will be executed

JavaScript scripts can be embedded anywhere in HT...

Tomcat first deployment web project process diagram

Put your own web project in the webapps directory...

Detailed explanation of Linux inotify real-time backup implementation method

Real-time replication is the most important way t...

Solve the mobile terminal jump problem (CSS transition, target pseudo-class)

Preface Many friends who have just come into cont...

Detailed steps to download Tomcat and put it on Linux

If you have just come into contact with Linux, th...