Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Phoca Download - download manager
rianseve
Phoca Newbie
Posts: 3 Joined: 06 Feb 2011, 20:43
Post
by rianseve » 06 Feb 2011, 20:46
Hello,
I want to upload MS Publisher files (.pub). But i get the following message:
The file type is not allowed - file cannot be uploaded
What do i need to do in the configuration?
Benno
Phoca Hero
Posts: 9965 Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:
Post
by Benno » 06 Feb 2011, 21:03
Hi,
try out following:
backend --> Components --> Phoca Download --> Phoca Download Control Panel --> Settings --> Details
copy and paste this line to
--> Allowed File Types:
{pub=application/mspublisher}
Save your settings!
Kind regards,
Benno
EnjoyRC
Phoca Newbie
Posts: 4 Joined: 07 Feb 2011, 18:14
Post
by EnjoyRC » 07 Feb 2011, 18:27
Benno wrote: --> Allowed File Types:
{pub=application/mspublisher}
How do I add additional uploadable file types that I don't have an associated applicaation for?
ie... vbs, sqs, etc....
Also, how are other files uploadable? I can upload MP3 files, but their not in the Upload list. I see them defined in the allowed download file types.
Benno
Phoca Hero
Posts: 9965 Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:
Post
by Benno » 07 Feb 2011, 18:46
Hi,
How do I add additional uploadable file types that I don't have an associated applicaation for?
ie... vbs, sqs, etc....
You don't need any associated application.
Also, how are other files uploadable? I can upload MP3 files, but their not in the Upload list. I see them defined in the allowed download file types.
Sorry I can't explain it better then I did it above...
See this one too:
viewtopic.php?f=32&t=12458
Kind regards,
Benno
EnjoyRC
Phoca Newbie
Posts: 4 Joined: 07 Feb 2011, 18:14
Post
by EnjoyRC » 08 Feb 2011, 00:53
Benno wrote: You don't need any associated application.
So to allow other types of files to be uploaded without associated apps, I simply add like this?
{ext} {ex2} {ex3}
Every example I see
Code: Select all
{rar=application/x-rar}
{7z=application/x-7zip}Has =application/??????} added to it.
Benno
Phoca Hero
Posts: 9965 Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:
Post
by Benno » 09 Feb 2011, 01:15
Hi,
sorry if I missunderstood you, or you me.
Code: Select all
{rar=application/x-rar}
{7z=application/x-7zip}
{pub=application/mspublisher}
This is the correct way to enable file types in the Allowed File Types section.
Kind regards,
Benno
derben
Phoca Member
Posts: 19 Joined: 09 May 2014, 12:23
Post
by derben » 23 Jul 2014, 14:06
Hi,
Could anybody tell me the mime type code to download *.vbs ?
My try was:
{vbs=application/octet-stream}
But then the sourcecode of the vbs appears in the browser tab. I need a solution to download and execute the file.