Page 1 of 1

Valid file-type for excel- sheets

Posted: 22 Mar 2013, 10:16
by Brixto
Hi,

i have some trouble adding a valid file type for some excel- sheets. The file- extensions i'm using are:
*.xls, *.xlsm, *.xltm

I tried adding the following lines to the allowed file- types:
{xls=application/vnd.ms-excel}
{xlt=application/vnd.ms-excel}
{xla=application/vnd.ms-excel}
{xlsx=application/vnd.openxmlformats-officedocument.spreadsheetml.sheet}
{xltx=application/vnd.openxmlformats-officedocument.spreadsheetml.template}
{xlsm=application/vnd.ms-excel.sheet.macroEnabled.12}
{xltm=application/vnd.ms-excel.template.macroEnabled.12}

, but this hasn't fixed it. Maybe i'm missing something.
Hope, someone has a clue for me :)

Brixto

Re: Valid file-type for excel- sheets

Posted: 22 Mar 2013, 21:05
by Jan
Hi, testing now XML files and get no problems :idea: with default: {xls=application/vnd.ms-excel} :idea:

Jan

Re: Valid file-type for excel- sheets

Posted: 25 Mar 2013, 10:18
by Brixto
When i'm using {xls=application/vnd.ms-excel} as default, i'm getting the error:

Code: Select all

File not uploaded
The file type is not allowed - file cannot be uploaded
This isn't really a XML- file, it's an excel- sheet with macros enabled (I'm using Microsoft Excel 2010).

I also tried to use a "standard- file (*.xls), this isn't working either with the default entry.

Thanks for your help :D

Brixto

Re: Valid file-type for excel- sheets

Posted: 27 Mar 2013, 10:51
by Brixto
Hi,

I posted allready some time ago, but my post, wasn't showing up.
However, this isn't really a XML- file. It's an Macro- enabled Excel Sheet.
I'm using Microsoft Excel 2010, if this helps.
Isn't it possible to define only the suffix without those MIME-types? Or using some kind of wildcards?

Thanks,
Brixto

Re: Valid file-type for excel- sheets

Posted: 30 Mar 2013, 13:26
by Jan
Hi, no, it is a security feature, so the mime types are checked, in Phoca Download 3 you can disable such feature.

Jan

Re: Valid file-type for excel- sheets

Posted: 03 Apr 2013, 09:48
by Brixto
Sorry, but this doesn't help me at all, since the Version 3 isn't available for Joomla 2.5. (I hope, I'm not missing something).
So my actual problem is still, to get the right MIME-types, maybe you can help me with this?

Re: Valid file-type for excel- sheets

Posted: 15 Apr 2013, 22:43
by Jan
Hi, testing now: {xls=application/vnd.ms-excel} included and get no problems there :idea:

Jan