| Author |
Message |
Nomad Client

Joined: Jan 21, 2006 Posts: 87 Location: Arizona
|
Posted:
Tue Apr 11, 2006 5:27 am |
|
Is there a way to limit the max folder size...<br>
For Instance, let say that I create a user upload folder, but I want to limit the total file size to 10 MB (They can have a many files as they want as long as it doesnt exceed 10 MB limit).
.htaccess?
control panel? |
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 9133 Location: Arizona
|
Posted:
Fri Apr 14, 2006 11:09 am |
|
Yes, I believe this can be done with .htaccess (as long as your host allows you to make these overrides). I have seen Gallery do this.
Although I have never myself dealt with this, maybe having the following directives will help you with your research:
php_value post_max_size 20971520
php_value upload_max_filesize 20971520
These came from my Gallery installation on one of my sites.
Your host may or may not allow you to make these php.ini overrides through .htaccess... |
|
|
|
 |
evaders99 Former Moderator in Good Standing

Joined: Apr 30, 2004 Posts: 3221
|
Posted:
Fri Apr 14, 2006 9:05 pm |
|
I believe those are only related to posting and uploading though, not actually restricting how much can be stored in one location
It may be something that your host needs to set up in Apache |
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 9133 Location: Arizona
|
Posted:
Sat Apr 15, 2006 9:43 am |
|
Yes, you are correct Evaders... my bad... my typing was working faster than my brain.  |
|
|
|
 |
Nomad Client

Joined: Jan 21, 2006 Posts: 87 Location: Arizona
|
Posted:
Thu Apr 20, 2006 11:21 pm |
|
Hey, Thanks anyway...
I want to build folders where certain users can upload files, but I dont want them hogging up my servers space. Just give them, lets say 2mb apiece. |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16986 Location: Kansas
|
Posted:
Thu Apr 20, 2006 11:52 pm |
|
You need an upload module with quotas. Is this a specific application or what? |
|
|
|
 |
Nomad Client

Joined: Jan 21, 2006 Posts: 87 Location: Arizona
|
Posted:
Fri Apr 21, 2006 12:03 am |
|
Yes....
I want to allow certain users to upload mp3s to "their" audio player.
The download module I have installed in NSN GR downloads 760
The plan I had was to: make each candidate a folder to upload to. Then have the audio player read from that folder. I would then assign them group upload priveledges to that folder.
The only "upload" module that I could find was uploadit2 but it didnt work to well. It would time out after every time I submitted an upload (buggy). So I left it alone. |
|
|
|
 |
|
|
|
|