Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite 7

 AfterLogic Forum : AfterLogic WebMail Lite 7
Subject Topic: Attachment size limit Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
webdbase2
Valued Community Member
Valued Community Member


Joined: 25 March 2015
Location: Bulgaria
Online Status: Offline
Posts: 81
Posted: 07 April 2015 at 11:58pm | IP Logged Quote webdbase2

I noticed that when AttachmentSizeLimit is On, the check is done only per file and not per total amount of all attachments, which is wrong.
Back to Top View webdbase2's Profile Search for other posts by webdbase2
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 08 April 2015 at 6:29am | IP Logged Quote Alex

It's by design. The purpose of this setting is to limit the request size when it's limited by the web server. Often, web servers limit the max size of content the browser can send to the server. If this size is exceeded, the web page will crash. The web page can't often determine this limit so this parameter exists. The admin should set it to a value less than the maximum request size allowed by the web server. This will let the client even not to try to upload a file which would anyway be rejected by the web server. It works in not all browsers but still helpful.

If doesn't make sense for multiple files because each file is uploaded by a separate request. I know this is now always so (jQuery uploader can join multiple files in a single query) but we're not using that.

I admit another setting of total size of all attachments can also be helpful for some purposes (such as to limit the size of an outgoing message) but it would be another setting for another purpose.

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
webdbase2
Valued Community Member
Valued Community Member


Joined: 25 March 2015
Location: Bulgaria
Online Status: Offline
Posts: 81
Posted: 08 April 2015 at 6:48am | IP Logged Quote webdbase2

Alex wrote:
The purpose of this setting is to limit the request size when it's limited by the web server.
...
It doesn't make sense for multiple files because each file is uploaded by a separate request.

This one you can always get from server's PHP settings.
Quote:
I admit another setting of total size of all attachments can also be helpful for some purposes (such as to limit the size of an outgoing message) but it would be another setting for another purpose.

It would be nice, if you introduce it in future versions.
Back to Top View webdbase2's Profile Search for other posts by webdbase2
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 08 April 2015 at 7:41am | IP Logged Quote Alex

Quote:
This one you can always get from server's PHP settings.

It's not always so, especially in case if the web server is behind proxy.

Quote:
It would be nice, if you introduce it in future versions.

You can suggest it at:
http://afterlogic.uservoice.com/
If we see the interest from the community, we'll implement it. Thanks.

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
webdbase2
Valued Community Member
Valued Community Member


Joined: 25 March 2015
Location: Bulgaria
Online Status: Offline
Posts: 81
Posted: 08 April 2015 at 10:36am | IP Logged Quote webdbase2

Alex wrote:
You can suggest it at:
http://afterlogic.uservoice.com/
If we see the interest from the community, we'll implement it. Thanks.


Done!
Back to Top View webdbase2's Profile Search for other posts by webdbase2
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide