DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/)
-   JavaScript / DHTML / AJAX (http://www.daniweb.com/forums/forum117.html)
-   -   filesize check before upload (http://www.daniweb.com/forums/thread46764.html)

rene_maassen May 31st, 2006 11:10 am
filesize check before upload
 
Before uploading files via a HTML-form, I want to do some client-side validating.
E.g. to check the filesize of the file selected by the user to upload.
Filesize should be,say, between 5MB and 50 MB.

My 'feeling' says there should be such an instruction in Javascript, but I can't find one!

tgreer Jun 2nd, 2006 11:07 am
Re: filesize check before upload
 
Nope, not really. By design, a person's browser isn't allowed to snoop around the file system.

t-servi.com May 10th, 2008 9:48 am
Re: filesize check before upload
 
Hello,
found this : http://www.captain.at/ajax-file-upload.php
Best regards.
t-servi.com


All times are GMT -4. The time now is 10:27 pm.

Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC