NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: ianburgess on August 15, 2012, 07:22:12 AM
-
How can I limit the filesize of a file upload in a webform, preferably before the file is uploaded, if it is larger than x bytes?
Thanks
Ian
-
I think it's a bit hard to do because most browsers won't "know" about the file size until after the upload process has begun.
We've been having good results in implementing the Uploadify library into our NT apps for file uploads. It allows much more control over file sizes, file types etc. but best of all it shows a progress bar of file uploads and allows multiple simultaneous file uploads too!
Would be nice if Bruce could find a way to incorporate Uploadify into NT as part of the template (hint hint) ;)
Cheers,
Devan
-
Hi Ian,
The whole issue of better management of file uploads (both to make better usabiltiy for the user, and also to manage malicious uploads) is something I'm looking into. As with most things though it's not as trivial as it seems at first glance.
Cheers
Bruce