file size while uploading

Discussion in 'Javascript' started by Anshul, Jul 12, 2007.

  1. Anshul

    Anshul Guest

    Hello,
    I'm a perl programmer and want to check the size of a file in MB,
    KB or bytes as I need to control the upload of files more than 5 Mb.
    If it can be done through java script then its really good. Can
    anybody help me out in this.

    I just brief: I need to check the size of a file in MB, KB or bytes
    while uploading through JS. As the file comes in the input box. on
    blur or onchange I need to check the file size.

    Thanks
    Anshul, Jul 12, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. HNguyen
    Replies:
    1
    Views:
    2,867
    =?Utf-8?B?Q293Ym95IChHcmVnb3J5IEEuIEJlYW1lcikgLSBN
    Oct 14, 2004
  2. Madni
    Replies:
    0
    Views:
    391
    Madni
    Apr 13, 2006
  3. Dung Ping
    Replies:
    10
    Views:
    946
    Chaddy2222
    Jan 16, 2006
  4. Replies:
    1
    Views:
    559
    ayyavoo
    Jul 24, 2006
  5. Yasin Cepeci
    Replies:
    2
    Views:
    421
    Yasin cepeci
    Jun 7, 2007
Loading...

Share This Page