• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How can I know the limitation for the attachment size?

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, When I add one tmp folder in the app root, I can upload more than 100K files.

But how can I know the limitation for the attachment size? I can't found it in admin console or configurtaion files.

Thanks
[originally posted on jforum.net by morgan_uid]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

morgan_uid wrote:Hi, When I add one tmp folder in the app root, I can upload more than 100K files.

But how can I know the limitation for the attachment size? I can't found it in admin console or configurtaion files.

Thanks



I'm not 100% sure, but I don't think you can limit that in current versions. It is only the size of the uploaded avatar that can be controlled here.
[originally posted on jforum.net by lazee]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I looked at the code quickly and it looks like you can still limit attachement size. This is done via the Group Quota limits which can be set in the Admin screens.

However, since this is a group level thing, there is no easy way to get this information to display in the templates. Your users will have to try to upload a file and then get the max size from the denied error message.

FWIW, there is no way to limit a user to a total amount of data they can upload. E.g., userX can only upload 5MB of files.

As I said, this is from a quick look at the code and not actually testing it. YMMV.


[originally posted on jforum.net by monroe]
 
reply
    Bookmark Topic Watch Topic
  • New Topic