[Javascript] Checking local file size

Craig Neal nealweb at telusplanet.net
Tue Apr 1 19:53:42 CST 2003


Why check it on the client side? Most FileUpload components have a method to
check the file size anyway and you can not save it if the file exceeds the
file size limit that you select.


----- Original Message -----
From: "Lau at goldenweb.com.au" <lau at goldenweb.com.au>
To: "[JavaScript List]" <javascript at LaTech.edu>
Sent: Tuesday, April 01, 2003 6:46 PM
Subject: [Javascript] Checking local file size


> Hi,
>
> I have an ASP program that lets a user upload a file (using ASPUpload).
But
> now I want to check the size of the file before they upload it so I can
put
> an upper limit on the size of files they can upload.
>
> Is there a way I can check the size of a file on the users local drive
using
> javascript? If not what other methods are available?
>
> Thanks in advance
> Lau
>
>
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
>



More information about the Javascript mailing list