• Thanks for a great plugin, easy to use and very efficient. I came across a problem when atempting to upload a zip file, when I see:

    Upload failed! File not allowed

    I tried using several methods to add zip to the allowed mimes but nothing helped:

    • WP Add Mime Type
    • WP Extra File Types
    • add_filter(‘upload_mimes’, ‘custom_upload_mimes’)
    • define( ‘ALLOW_UNFILTERED_UPLOADS’, true ))

    However, I can upload a zip file using the media upload.

    I then removed all the above methods and I could still update a zip file using wordpress media but not with your plugin.

    I’m using the Astra theme. WordPress and all plugins are up to date. Any ideas?

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author nickboss

    (@nickboss)

    Good morning,

    Open the visual editor of the upload form, locate option Allowed File Extensions and set it like this:

    *.*, *.zip

    This will allow zip files as well.

    Best Regards

    Nickolas

    so *.* does NOT allow ALL filetypes, as the wildcards would imply? i am having this issue trying to upload csv

    I tried this solution but it still does not load files other than PDF.

    is there any other solution?

    Plugin Author nickboss

    (@nickboss)

    Good morning @achille83 , what kind of files are you trying to upload?

    Best Regards

    Nickolas

    Good morning, I try to upload common files such as doc/docx, xls/xlsx and zip folders but I always get an error, I have done all the possible tests even the wordpress configuration file but nothing.

    • This reply was modified 1 month, 2 weeks ago by achille83.
    Plugin Author nickboss

    (@nickboss)

    Open the visual editor of the upload form, locate option Admin Messages in General tab and activate it.

    Then upload a file again as an admin. The error message will show some more info about the problem. Can you share it with me?

    Nickolas

    yes with a pdf this is the message: Caricamento fallito!File non consentito (Upload failed!File notallowed)

    Plugin Author nickboss

    (@nickboss)

    @achille83 please send me the shortcode of the upload form.

    Nickolas

    here

    [wordpress_file_upload singlebutton=”true” uploadpath=”uploads/sostegno/%username%/%userdata1%/%userdata2%” fitmode=”responsive” resetmode=”onsuccess” uploadpatterns=”., *.zip, *.xlsx, *.xls, *.doc, *.docx” maxsize=”200″ createpath=”true” forcefilename=”true”

    Plugin Author nickboss

    (@nickboss)

    Change upload patterns like this:

    *.*, *.zip, *.xlsx, *.xls, *.doc, *.docx

    Nickolas

    achille83

    (@achille83)

    Ok thanks it seems to be working even if that sequence had already been inserted.
    Now I ask if for the function List of Uploaded Files:

    It was possible to introduce a search by user?

    Plugin Author nickboss

    (@nickboss)

    Good morning, filtering in Uploaded Files is a feature which will be added in one of the next releases.

    Best Regards

    Nickolas

    achille83

    (@achille83)

    Thank’s

Viewing 13 replies - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.