Page 1 of 1

.c, .cpp file uploads

Posted: 14 Jan 2016, 14:14
by karjol
Hi,
How can we allow, .c, .cpp, etc file types to upload.
I don;t want to restrict any file types to be uploaded or downloaded. How can we do it. Can you please let us know

-Karjol

Re: .c, .cpp file uploads

Posted: 14 Jan 2016, 15:16
by karjol
I can add the MIME types in the control panel and do it. But how to allow all the files type to upload and download. Instead of keep on adding each mime type.. please let me know

Re: .c, .cpp file uploads

Posted: 14 Jan 2016, 15:30
by Benno
Hi,
backend --> Components --> Phoca Download --> Control Panel --> Options --> Downloads -->
Ignore File Types Checking=Yes (download and upload parameters)
or (maybe the better way):
zip all files.

Kind regards,
Benno

Re: .c, .cpp file uploads

Posted: 18 Jan 2016, 11:19
by karjol
Hi Benno,
Thanks for the information. But even after I set ignore file type checking to Yes(download and upload parameters), I get the below error

Error
The file type is not allowed - file cannot be uploaded

for the files: ini, .h, .uir,

Re: .c, .cpp file uploads

Posted: 18 Jan 2016, 11:23
by Benno
Hi,
what happens when you zip this file types? :idea:

Kind regards,
Benno

Re: .c, .cpp file uploads

Posted: 18 Jan 2016, 11:50
by karjol
It works when I zip it. But I don't want it to work like that. We want to upload all file formats without zipping them
Please help

Re: .c, .cpp file uploads

Posted: 18 Jan 2016, 12:23
by Benno
Hi,
sorry, no more ideas.. :idea:

Kind regards,
Benno