Create file upload restrictions for users through owncloud server

Ask all your questions regarding OC 8.2 Please read the Support Forum Rules
Forum rules
The forums were migrated over to https://central.owncloud.org which is based on the forum software Discourse. The forums here is put into read-only mode starting from today.

More background information about this move and the reasoning behind it is available in this blogpost:

https://daniel.molkentin.net/2016/07/20 ... d-central/
AlamSyed
Newbie
Posts: 5
Joined: Sun Jan 03, 2016 3:02 am
ownCloud version: 8.2.2
Webserver: Apache
Database: MySQL
OS: Linux
PHP version: 5.4

Create file upload restrictions for users through owncloud server

Postby AlamSyed » Thu Feb 11, 2016 7:16 pm

ownCloud version: 8.2.2
Webserver: apache2
Database: MySQL
OS: Linux
PHP version: 5.6.x


Hello Everyone,
I am still learning about owncloud and its amazing apps capability, so please elaborate your answers if you can. I have a simple requirement. Lets say I start a owncloud webserver on a machine. I ask users to upload their pictures and videos on lets say swim club trips. I want to be able to build an app with a functionality that restricts the users with two folders images and videos to file size limits 100 MB and 500 MB respectively. Or there a better way without using app framework ? I know there is a way to set the global owncloud upload limit, I also know that there is a place where user skeleton or default files can be created.

I am not looking for a spoon-fed answer, just general directions where I can go and look, so I am able to achieve the said functionality of different upload restrictions for different directories at the user/ client level.

Let me know your thoughts about this.


Thanks
Alam

RealRancor
ownCloud master
Posts: 17381
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 9.0.2
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 7.0.x

Re: Create file upload restrictions for users through owncloud server

Postby RealRancor » Thu Feb 11, 2016 8:58 pm

Hi,

a "per folder" upload limit is not configureable within ownCloud. This either needs to be requested at the bugtracker as a new feature:

https://github.com/owncloud/core/issues

or implemented within an app where you can find a starting point in this documentation:

https://doc.owncloud.org/server/8.2/dev ... index.html
*gone*

AlamSyed
Newbie
Posts: 5
Joined: Sun Jan 03, 2016 3:02 am
ownCloud version: 8.2.2
Webserver: Apache
Database: MySQL
OS: Linux
PHP version: 5.4

Re: Create file upload restrictions for users through owncloud server

Postby AlamSyed » Thu Feb 11, 2016 11:19 pm

RealRancor wrote:Hi,

a "per folder" upload limit is not configureable within ownCloud. This either needs to be requested at the bugtracker as a new feature:

https://github.com/owncloud/core/issues

or implemented within an app where you can find a starting point in this documentation:

https://doc.owncloud.org/server/8.2/dev ... index.html


Ok. I don't know if this feature is applicable to everyone otherwise I am supposing it would have been implemented.

I am reading this documentation, and understanding it, but can you sketch roughly how would you / or any one with knowledge of owncloud and apps would go about building such an application. Just some starting pointers please, since I don't have much prior experience with web development.


Thanks
Alam

RealRancor
ownCloud master
Posts: 17381
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 9.0.2
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 7.0.x

Re: Create file upload restrictions for users through owncloud server

Postby RealRancor » Thu Feb 11, 2016 11:23 pm

Hi,

unfortunately you will find nearly no users with development background in here. This forum is mainly frequented by "end-users".

If you need a starting point you can either ask for help at the developers mailinglist:

https://mailman.owncloud.org/mailman/listinfo/devel

or at the IRC channel #owncloud-dev on freenode.
*gone*


  • Similar Topics
    Replies
    Views
    Last post

Return to “ownCloud Server 8.2”

Who is online

Users browsing this forum: No registered users and 1 guest