Archived topic
Allowing downloads of Windows executable program files
7 replies · Started by Paul on February 1, 2019
I'm not sure if this is the correct place to ask. But, I need to allow my customers to download a number of Windows setup files. They will be something like: "setup.exe" or "setup.msi".
I am the only person would would upload files of the is type. My customers would be downloading them. WordPress does not allow uploading this type of file. Allof the pugins and PHP code that I have tried have not worked.
Do you have any suggestions?
Thanks,
Paul
Hi there,
have you thought about zipping the files, then add them to a folder using FTP. Then it should be just a case of adding a link to those files.
Thanks for the suggestion David!
Zip files work for some of the products I sell. Unfortunately, I also need the executables .exe and.msi because they are for the support services that we offer. Asking a user to unzip a file before running it is often beyond their abilities on a PC.
Right - makes sense, been there lol. .exe and .msi you could still add them to another folder ( or even server ) and just link to them. If not haven't tried it but sounds like it does what you need:
Thanks for the plugin suggestion. Unfortunately, it doesn't work. This is the error I get.
Uploading
Agent_Install.msi Sorry, this file type is not permitted for security reasons.
Found this on Stack:
https://stackoverflow.com/questions/41235092/upload-exe-file-in-wordpress-website
Not sure if it will work as i believe WP tightened up on this not long ago.
Sadly, the code results in the same error.
Sorry i don't really know what else to recommend aside of adding external links.
Might be worth speaking with the author of an upload plugin like: