How to restrict type of files and upload directory

Phoca Download - download manager
scubabyss
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 20 Apr 2011, 14:52

How to restrict type of files and upload directory

Post by scubabyss »

Hi
  • I would like to allow registered users to only load some type of files, namely xls and xlsx worksheet. Is it possible and how can I do it ?
    I would like that the files uploaded by the user go in a user specific directory base, e.g. on its login name. My configuration does not allow user to change login name. Is it possible and how can I do it ?
Thank You
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48566
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to restrict type of files and upload directory

Post by Jan »

Hi, you can restrict the mime types for upload but for all users - to set it only for some selected, this needs to be customized - to assign the rule only with specific user group :idea:

Jan
If you find Phoca extensions useful, please support the project
Post Reply