.c, .cpp file uploads

Phoca Download - download manager
karjol
Phoca Member
Phoca Member
Posts: 11
Joined: 07 Jan 2016, 14:05

.c, .cpp file uploads

Post 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
karjol
Phoca Member
Phoca Member
Posts: 11
Joined: 07 Jan 2016, 14:05

Re: .c, .cpp file uploads

Post 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
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9611
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: .c, .cpp file uploads

Post 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
karjol
Phoca Member
Phoca Member
Posts: 11
Joined: 07 Jan 2016, 14:05

Re: .c, .cpp file uploads

Post 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,
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9611
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: .c, .cpp file uploads

Post by Benno »

Hi,
what happens when you zip this file types? :idea:

Kind regards,
Benno
karjol
Phoca Member
Phoca Member
Posts: 11
Joined: 07 Jan 2016, 14:05

Re: .c, .cpp file uploads

Post 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
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9611
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: .c, .cpp file uploads

Post by Benno »

Hi,
sorry, no more ideas.. :idea:

Kind regards,
Benno
Post Reply