Home >Web Front-end >HTML Tutorial >How can I create a hyperlink in HTML to download an apk file? _html/css_WEB-ITnose
I wrote a set of HTML static websites, which were published using iis. After uploading them, I found that the downloaded hyperlink was connected to the apk file, and the display was
The page could not be found. The page you are searching for may be Has been removed, renamed, or is temporarily unavailable.
The download connection cannot be opened, but if you change the apk file to a rar file, you can download it. Please tell me how to solve it, thank you. . .
Just connect
<a href="/Files/1.apk">Test</a>
Can't you compress the apk file into a rar file? Haha
Go and add the mime header
I want to ask for a ride.
How to display the content of a TXT text on the page instead of a download link. ? ?
Just use 5b97b9e7f74ba2a9afc5cfa6297954b0 to download5db79b134e9f6b82c0b36e0489ee08ed. Don’t use absolute paths, use equivalent paths.
Connect Just do it
C# code?18ee87caaf6bf11f691e5e3f2d0cba7cdTest5db79b134e9f6b82c0b36e0489ee08ed
Just create a "Files" in the "root directory" of your IIS "deployed project" "folder, put your Apk file in it, and just point it with Anchor.
folder It’s a permission issue, just right-click on properties and add EveryOne
Quoting the reply from newegg2009 on the 1st floor: Just connect
C# code?18ee87caaf6bf11f691e5e3f2d0cba7cdTest16ef26f8b7ea0fc89bdf90e275a93e5d
Just create a "Files" folder "under the root directory" of your IIS "deployed project", put your Apk file in it, and point it to it with Anchor.
Hello, I have no problem testing on this machine, but I can’t find the file when I click download on the local area network. The download window pops up on this machine, how to solve it, thank you
……
Open Internet Service Manager Internet Service Manager-->Website Properties-->HTTP Header (MIME Type)-->New
Extension.apk Type (MIME) application/vnd.android
I would like to ask for a ride.
How to display the content of a TXT text on the page instead of a download link. ? ?
Only IE9 doesn't work, it's zip, other browsers are apk, how to solve it?