0

FileUpload Maxsize

asked 2009-05-27 07:14:00 +0800

Kuikiker gravatar image Kuikiker
144

updated 2009-05-27 07:15:06 +0800

Hello,

Do Zk checks the maxsize of an uploaded file after the file has already been uploaded?
If you limit the file size lets say to 5MB, the users can still submit huge files and the "size exceeded" error does not appear until the full file has been uploaded.
However the progress bar is showing the size of the file while it's being uploaded.

delete flag offensive retag edit

4 Replies

Sort by ยป oldest newest

answered 2009-06-10 07:00:38 +0800

Kuikiker gravatar image Kuikiker
144

Any ideas ?

link publish delete flag offensive edit

answered 2009-06-10 07:23:21 +0800

sousa1981 gravatar image sousa1981
573 4

Well, ZK fileupload is server side component.

You will need some client side action to check this, unfortunately, it looks like is "impossible!!!"

This type of problem is the same like, imagine if you want to compress the file on client before send to server

Regards

link publish delete flag offensive edit

answered 2009-06-16 06:48:30 +0800

Kuikiker gravatar image Kuikiker
144

updated 2009-06-17 07:15:17 +0800

However ZK shows the file size on the progress bar when it's being uploaded.
Why doesnt it checks if the file size is allowed at that moment? It makes more sense right?

link publish delete flag offensive edit

answered 2009-06-18 17:31:29 +0800

sousa1981 gravatar image sousa1981
573 4

updated 2009-06-18 17:32:39 +0800

Yes, it sounds good.

Try to post it to feature request, then I will post +1 to the feature, it may influence ZK Team to implement the feature more fast.

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2009-05-27 07:14:00 +0800

Seen: 338 times

Last updated: Jun 18 '09

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More