dcsimg
To find the size of an uploaded file
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Tamizharasan_Rajendran
Posted On:   Monday, March 17, 2003 09:13 AM

How to find the size of an uploaded file using javascript?
I am using input type as file to upload the file. I could use MAXFILESIZE attribute to restrict the file size but, I want to know the actual size of the uploaded file. How could I do that?

Re: To find the size of an uploaded file

Posted By:   Nitesh_Naveen  
Posted On:   Monday, March 17, 2003 10:19 AM

You can know this data only after the upload is done. The MultipartRequest of orielly package which helps you do the upload also gives you this data. There is no way of measuring the file size from the client side through javascript
About | Sitemap | Contact