Home Forum Download/Upload Links Search

NetTalk User Group

NetTalk User Group Meeting!
Live Webinar!
Saturday Nov. 16 
7am PST
Click Here To Register!
NetTalk Central
October 24, 2014, 05:28:09 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to the NetTalk Central Forums!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: File Upload - limit file size  (Read 229 times)
ianburgess
Full Member
***
Posts: 119


View Profile Email
« 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
Logged
Devan
Full Member
***
Posts: 230


View Profile Email
« Reply #1 on: August 15, 2012, 07:46:53 PM »

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) Wink

Cheers,
Devan
Logged
Bruce
Global Moderator
Hero Member
*****
Posts: 7031



View Profile
« Reply #2 on: August 15, 2012, 10:10:00 PM »

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
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Login Form

Welcome Guest.






Lost Password?
No account yet? Register
home contact search contact search