News:

Dear forum visitors, if the support forum is not available, please try again a few minutes later. Thanks!

Main Menu
Support-Forum

Frontend Upload File Extensions with docx, xlsx, and others

Started by whu, 06.05.2025 12:36:28

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

whu

Frontend Upload File Extensions with docx, xlsx, and others

Hello,
first of all, thank you – the component works great!

The only thing I can't figure out is:
How can I extend the file upload functionality in the frontend to allow additional file types, such as .docx, .xlsx, etc.?

Thank you very much!
  •  

ColinM

Hi
In Admin click on jDownloads and then on Contol Panel.  At top right click on Options.
Next click on Uploads tab. Scroll down to find 'Other allowed File Extension'.  Add docx (for word docs) and xslx (for for Excel).

Also when creating the Download then in the Additional tab in the Images section on right hand side select symbol xslx.png or docx.png as appropriate
ColinM
Colin M
  •  

whu

Hello, thats what i tried:=)
I did: zip,rar,pdf,doc,txt,docx,xls,xlsx,ppt,pptx
saved and get this failure:Save failed with the following error: Invalid file type submitted. File upload aborted.




  •  

ColinM

Hi
I see you are using the Files method to upload/create.  I find that method unreliable as it has a different set of criteia.  It is only kept in jD as it was the original method a long time ago
It is better to do the upload when creating a download - Select Downloads and then click on the New button at the top.the Download creation  This opens up the Download creation page.  You can select the file to upload in the Files Data tab
See the documentation article Create Download in Backend
https://www.jdownloads.net/documentation?view=article&id=293&catid=26
There is a similar article for Categories
https://www.jdownloads.net/documentation?view=article&id=291&catid=26
To see all the available documentation
https://www.jdownloads.net/documentation

At top right on the documentation page there is a Translate field where you select the language

Colin
Colin M
  •  

whu

Hello Colin, thank you! I think there is a misunderstanding.
I have a group of "DAUs" and search for an really easy way for them to uplaod and download some Files:=)

So I need an EASY Frontend UPLOAD, i dont want them in the Backend!
just login as registerd and a Link to the Download Section.

When I try the NEW Button in the Section on the Frontend i get also the failure at the upload!?

Thank you
  •  

ColinM

Hi
To progress further I will send you a Personal Message  -
These at the very top opf the screen when you login
Colin
Colin M
  •  

ColinM

Hi
Have you looked at the jD Documentation?
https://www.jdownloads.net/documentation
one of the articles is "Create Download from Front End"
https://www.jdownloads.net/documentation?view=article&id=110&catid=29

Basically to allow creating items in front end you need to setup various User Group Permissions

Setting up User Group Permissions is like riding a bicycle - clearly imossible when you start but easy whEn you have done it!!

Best wishes
ColinM
Colin M
  •