Upload and download is not working

Viewing 25 posts - 1 through 25 (of 93 total)
#151241

Shahjada
Keymaster

After this update ( 3.1.17 or 5.3.7 ), you may face the following 2 issues:

  • Upload is not working
  • Showing “Invalid File Type” error when trying to download

Here is the reason and solution:


From WPDM Free 3.1.20 and WPDM Pro 5.3.7, we have changed the file type validation process during file upload and download. Now, you have to white file types to allow them to upload or download. You will find the option at Admin Menu ► Downloads ► Settings ► Basic Settings Tab ► Upload Settings section.
Settings%20%E2%80%B9%20Download%20Manager%20%E2%80%B9%20WordPress%20Download%20Manager%20Pro%20%E2%80%94%20WordPress

Please add file types ( texts, multiple texts separated by a comma ) as shown on the marked image. And then save settings. The shall resolve the issue.


If you have further questions, please create a separate post. Thanks for staying with us and using WordPress Download Manager.

#151281

Anton Shepherd
Participant

This solution fixed the issue for me:

I have just removed this message from the Downloads > Settings > Basic

Download Limit Message:
<i class=”fa fa-exclamation-triangle”></i> Download Limit Exceeded!

****

Remove the above and the saving and pdf file downloads work properly.

#151341

Jeffrey Knight
Participant

I am getting this error but when I try to make and then save the changes mentioned above the gear icon spins next to “Save Settings” but it never saves the changes. I have tried disabling all plugins besides Download Manager and reverted the theme to default Twenty Twenty One but it still won’t save.

#151360

thepigfarmer
Participant

Thanks Shahjada – can you please share a list of acceptable file types in the correct format?

#151372

Humayon
Moderator

Hi Thepigfarmer,
Hope you are well.
By default, WPDM supports all file types allowed by WordPress, but if you want to add a new file type, then you can add them in the allowed file types by following this.
Thanks.

#151469

Hello!
SOLVED
In the filetype settings all file types where there from previous versions of WPDM and WordPress.
After careful investigation I found that it was a space after each comma. When this space was removed in the settings it is working again.
/Erik

#151475

Humayon
Moderator

Hi Erik,
Glad to hear that the issue has been resolved.
There should be no spaces among the file type declaration example(apk,ppt,docx) etc.
However, If you found my support helpful, could you leave your valuable review here https://wordpress.org/support/plugin/download-manager/reviews/?rate=5#new-post
Your rating keeps us inspired ❤️
Cheers!

#151921

Jonas Kluger
Participant

Is there a way to allow down/upload of files without a file extension?
This used to work with wildcard (*) before the update.
I tried something like this but it did not work:
foo,bar,, <- two commas after each other

Any solution for that?

Thanks a million!

#151994

Christoph Kaiser
Participant

I’ve followed Shahjada’s instructions – but no results. The upload still does not work.
I want to add akp files.

The problem appeared on an earlier update as well. When I added apk as an allowed file type back then it worked fine. Unfortunately not trhis time.

Any suggestions to solve this quickly?

#152010

Humayon
Moderator

Hi Christopher,
Please check this screencast and this screenshot properly.
Also, you can add a custom file type by following this article.
Hopefully, your problem will solve. If not then please provide us with your admin login credentials in a private reply so that we can debug it properly.
Thanks.

#152013

Humayon
Moderator

Hello Jonas K.,
If you leave the Allowed file types to upload empty like this then it will allow you to upload all default WordPress allowed file type.
All default accepted file type list can be found here.
Thanks.

#152040

Christoph Kaiser
Participant

It still does not work. I’ve tried all the things you suggested before. Not result.

A couple of updates earlier I faced the same issue – back then the workaround you forwarded now did work fine. Not this time… 🙁

#152062

Humayon
Moderator

Hi Christoph K.,
Will you please share the related page/file URL with us?
If possible, please, provide us with your temporary wp-admin login details in a private reply for checking the issue.
Thanks

#152071

Ron Barack
Participant

Files with “.” in the name, and not only as seperator between name and filetype, are in this version not allowed. This is an unacceptable restriction.

See file class.Packages.php, from line 89. The array $_exts will in this case have 2 or more elements. Not all of them will match elements of the allowed filetypes. So the test in line 92 will fail.

Please release a corrected version.

#152078

Humayon
Moderator

H Ron,
Thank you for letting us know about it. I am going to forward your request to our core development team. Hopefully, we will adjust it in the next release.
Regards

#152081

Christoph Kaiser
Participant
This reply has been marked as private.
#152083

Humayon
Moderator
This reply has been marked as private.
#152088

Christoph Kaiser
Participant

After updating to Version 3.1.26 today NONE of my downloads is working any longer!

With the old version at least all the files that had been uploaded previously could be downloaded. – With the new Version 3.1.26 NONE of my apk-files can be downloaded!

#152089

Humayon
Moderator

Hello Ron,
We have adjusted your issue in the latest version. Please update your copy of the WPDM plugnin and then let us know if your above-mentioned issue has been solved or not.
Thanks

#152097

Humayon
Moderator

Hi Christoph,
We have released an update(V 3.1.27) which will solve your issue. Please update and then let us know about it.
Thanks

#152124

Christoph Kaiser
Participant

THANK YOU!

Version 3.1.27 works fine for me! Upload and download are fully functional again!

#152141

Humayon
Moderator

Hi Christoph K.,
Glad to hear that your issue has been resolved.
If you found my support helpful, could you leave your valuable review here https://wordpress.org/support/plugin/download-manager/reviews/?rate=5#new-post
Your rating keeps us inspired ❤️
Cheers!

#152347

I have the same issue as Jonas K. — I was using a wildcard (“*”) to allow all types and now that doesn’t work. Can this functionality be restored?

The solution suggested in #152013 is not sufficient as I want to allow extensions outside of the default WP allowed extensions.

Thank you.

#152401

Hi, I am having the issue with new uploads (existing files are okay after I made the field Allowed file types to upload = empty). However, new uploads do not work, I tried jopg, pdf etc and for all I get ‘No file is attached with this package!’. I have also updated to the latest release.

#152412

Humayon
Moderator

Hi Shawn,
We have found the issue and we will adjust the wildcard(*) issue in the next release.
Wildcard(*) will allow all file types in the next release.
Right now Wildcard(*) is allowing to upload all default WordPress allowed file type.
All default accepted file type list can be found here.
Thanks

Viewing 25 posts - 1 through 25 (of 93 total)

The topic ‘Upload and download is not working’ is closed to new replies.