All of a sudden Upload of EXE and ZIP files fail…

in Download Manager Free

Viewing 16 posts - 1 through 16 (of 16 total)
Apr 26, 2025 at 6:53 pm
#205723
Member
Tom Blahovici
OP

I have used this for years. In the settings, I always have exe,zip as file types. Everything was fine last week then I updated to the latest Download Manager and now it tells me “Upload blocked. The file type is invalid—the file extension does not match the actual content type.”
If I put the exe file into a zip file it uploads find but then on the download page it says “FIle cannot be downloaded.

I tried a file that I used last week and same thing. It is definitely the update.
Version 3.3.14
Wordpress version 6.8

Can I roll back?

Thank you

Apr 26, 2025 at 9:24 pm
#205730
Moderator
Nayeem Riddhi
Staff

Hello Tom Blahovici,

Hope you are well. And sorry for the inconvenience. if possible, can you please, give your temporary wp-admin login details in a private reply to check the issue?

Thank you and regards

Apr 26, 2025 at 9:55 pm
#205734
Member
Tom Blahovici
OP

Hi
Temporary? How do I do that? Do we talk on the phone? Are you willing to sign a document stating that you will pay for all repairs that may be needed in case something goes wrong?
Not a chance.
Why don’t you just try to upload a exe file yourself? It uploads then immediately give the error in your plugin . Previously loaded files are fine. They can be downloaded with no issues. It’s only files that have been uploaded since a few days and after I did your update.

Apr 26, 2025 at 9:57 pm
#205735
Member
Tom Blahovici
OP

Please provide a link to the previous version. I’ll see it it does it. If so it could be the new WordPress install as well.

Apr 27, 2025 at 3:42 am
#205740
Moderator
Nayeem Riddhi
Staff

Sorry for the inconveneince. Please kindly let me know if you are using the free/Pro version, please kindly check and let me know.

Thank you and regards

Apr 27, 2025 at 4:17 am
#205741
Member
Tom Blahovici
OP

Free version.

Apr 27, 2025 at 4:47 am
#205744
Moderator
Nayeem Riddhi
Staff

Sorry for the inconvenience. For zip file it should work, however, for exe file type, We are checking the issue. I have already forwarded it to our related team authority regarding the issue. Please kindly check and let me know if you have any more queries.

Thank you and kind regards

Apr 27, 2025 at 7:53 am
#205748
Moderator
Nayeem Riddhi
Staff

For exe file type issue, Please kindly

use this hook add_filter("wpdm_is_valid_mime_type", '__return_true'); in your active theme functions.php file. Please kindly check.

Thank you and regards

Apr 27, 2025 at 10:48 am
#205764
Participant
Jillian

I am having this same issue with epub files. Please advise if there’s anything I can do to fix it right now, thanks!

Apr 27, 2025 at 11:47 am
#205766
Moderator
Nayeem Riddhi
Staff

You can also try above solution.

Thank you and regards

Apr 29, 2025 at 8:02 pm
#205882

This solution works for me

use this hook add_filter(“wpdm_is_valid_mime_type”, ‘__return_true’); in your active theme functions.php file. Please kindly check.

May 3, 2025 at 3:21 pm
#206004
Member
Tom Blahovici
OP

That worked. The latest release uploaded after this report did not.
Thanks

May 4, 2025 at 8:00 am
#206016
Moderator
Nayeem Riddhi
Staff

Glad to hear that. However, if you need further help with anything else, then please don’t hesitate to open a new topic. If you get some free moments, can you please give us a 5* here https://wordpress.org/support/plugin/download-manager/reviews/?rate=5#new-post, It will inspire us a lot. Thanks in advance…

Thank you again and regards

Aug 2, 2025 at 4:57 pm
#207814
Participant
John Edwards

I am having a similar issue with musescore files (.mscz). I have been using them with no issue and suddenly they stop working. I tried the fix above and this did not work.

Aug 2, 2025 at 5:29 pm
#207815
Participant
John Edwards

Sorry all fixed now, typo on my part

Aug 3, 2025 at 2:49 am
#207816
Moderator
Nayeem Riddhi
Staff

Glad to hear that. However, if you need further help with anything else, then please don’t hesitate to open a new topic.

Thank you

Viewing 16 posts - 1 through 16 (of 16 total)

You must be logged in to reply to this topic.