How do I upload .apk to site where members can down it, but when I upload the apk file gives error file not allowed

cteq1

Active member
Sep 18, 2018
246
94
28
Hello
I want to have an android .apk file on my site for people to download (downloader on firestick cant handle zip file so it has to be .apk) but it doesnt matter how I upload it gives error on upload, due to security this type of file is not allowed. So whats the solution?
 

newbi3

Well-known member
Trusted Seller
May 16, 2019
576
405
63
Is your website running on a shared host? You should be able to upload apk files in default without any issues.
 
  • Like
Reactions: cteq1

MrSam_1

Well-known member
Administrative
Trusted Seller
Dec 1, 2018
23,641
26,991
120
Hello
I want to have an android .apk file on my site for people to download (downloader on firestick cant handle zip file so it has to be .apk) but it doesnt matter how I upload it gives error on upload, due to security this type of file is not allowed. So whats the solution?
What script are you using for upload? Check file permissions and file extension allowed for upload.
 
  • Like
Reactions: cteq1

Capricorn

Active member
Babiato Lover
Banned User
Apr 22, 2019
220
78
28
You can upload it to the file-hosting site and make a downloading link available on your website.
 
  • Like
Reactions: cteq1

cteq1

Active member
Sep 18, 2018
246
94
28
You can upload it to the file-hosting site and make a downloading link available on your website.

Thats what I have been doing but most of the free file hosting sites go through so many hoops.
 

cteq1

Active member
Sep 18, 2018
246
94
28
Is your website running on a shared host? You should be able to upload apk files in default without any issues.
I have shared hosting and addon domain. I did upload to wp-content/uploads but I cant see it in media library. m3u file and mp3 files are no problem
 

MrSam_1

Well-known member
Administrative
Trusted Seller
Dec 1, 2018
23,641
26,991
120
Unless media they won't appear on media library. Upload your file, preferably with a name that doesn't contain spaces, something like: my_awesome_app.apk then insert direct link in your post like
Code:
My post header

My post content

file <a href="yoursiteurl/wp-content/uploads/my_awesome_app.apk"> Download from here </a>


Note: this is for text editor of your post

Or use wp editor (whichever you have Guttenber or whatever) to insert link into your post, direct link to your file.
 
  • Like
Reactions: cteq1

Naivo

Member
Feb 22, 2019
77
37
18
Wordpress doesn't allow files other than the common ones (jpg, gif, png, pdf, doc etc) through the media uploader. No svg, apk or anything alike.

The easiest way is to upload your file through ftp and make a direct link like @slvrsteele said.
 
  • Like
Reactions: cteq1

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu