2

I need to calculate file size using javascript before the file starts to upload in server size. I need do the file size operation in client size itself.

Pls help me guys.,

Thanks..

3
  • You can do this in newer browsers with the HTML5 file APIs, but not in older browsers unless you use Flash or something. Commented Mar 13, 2012 at 10:53
  • @EvilP: i have tried a code which had been posted in a site. kavoir.com/2009/01/…. it is working in IE but it is asking for ActiveX Control. It is not supported in Chrome and Safari... Commented Mar 13, 2012 at 10:56
  • stackoverflow.com/questions/4112575/… Commented Mar 13, 2012 at 11:02

2 Answers 2

3

New APIs in HTML5 will allow you to interact with files - so you need the users to be on latest browsers for this to work:

jquery File Upload

Sign up to request clarification or add additional context in comments.

Comments

0

HTML5 will helpful for you. check the similar question on stackoverflow

check this also

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.