Page 1 of 1

Problem: Uploading .pub

Posted: 06 Feb 2011, 20:46
by rianseve
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? :!:

Re: Problem: Uploading .pub

Posted: 06 Feb 2011, 21:03
by Benno
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

Re: Problem: Uploading .pub

Posted: 07 Feb 2011, 18:27
by EnjoyRC
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.

Re: Problem: Uploading .pub

Posted: 07 Feb 2011, 18:46
by Benno
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... :idea:
See this one too: viewtopic.php?f=32&t=12458
Kind regards,
Benno

Re: Problem: Uploading .pub

Posted: 08 Feb 2011, 00:53
by EnjoyRC
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.

Re: Problem: Uploading .pub

Posted: 09 Feb 2011, 01:15
by Benno
Hi,
sorry if I missunderstood you, or you me. :idea:

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

Re: Problem: Uploading .pub

Posted: 23 Jul 2014, 14:06
by derben
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.