client file size

Discussion in 'Javascript' started by Asterbing, Apr 16, 2006.

  1. Asterbing

    Asterbing Guest

    Hi. Is there a way in javascript (or other client-side language) to
    check the size of a file designated by a form's file field, prior to
    submit it (ie. POST, including file content), for the purpose to reject
    the too big one ?
     
    Asterbing, Apr 16, 2006
    #1
    1. Advertisements

  2. Asterbing

    Evertjan. Guest

    Asterbing wrote on 16 apr 2006 in comp.lang.javascript:

    > Hi. Is there a way in javascript (or other client-side language) to
    > check the size of a file designated by a form's file field, prior to
    > submit it (ie. POST, including file content), for the purpose to reject
    > the too big one ?


    No.

    This has been answered so many times in this NG. see the archive.

    --
    Evertjan.
    The Netherlands.
    (Please change the x'es to dots in my emailaddress)
     
    Evertjan., Apr 16, 2006
    #2
    1. Advertisements

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. Neil Zanella
    Replies:
    4
    Views:
    695
    Gianni Mariani
    Oct 9, 2003
  2. tiewknvc9
    Replies:
    6
    Views:
    907
    Chris Uppal
    Oct 1, 2006
  3. scrodchunk

    gcc executable size vs. target hex file size?

    scrodchunk, Jul 5, 2004, in forum: C Programming
    Replies:
    2
    Views:
    519
    Stephen L.
    Jul 6, 2004
  4. Jason Cavett

    Preferred Size, Minimum Size, Size

    Jason Cavett, May 23, 2008, in forum: Java
    Replies:
    5
    Views:
    13,441
    Michael Jung
    May 25, 2008
  5. Keith Thompson

    Re: File Size - Big File Size

    Keith Thompson, Oct 1, 2009, in forum: C Programming
    Replies:
    6
    Views:
    498
    Phil Carmody
    Oct 3, 2009
  6. Michael Tsang

    Re: File Size - Big File Size

    Michael Tsang, Oct 4, 2009, in forum: C Programming
    Replies:
    2
    Views:
    501
    Keith Thompson
    Oct 4, 2009
  7. Nobody

    Re: File Size - Big File Size

    Nobody, Oct 5, 2009, in forum: C Programming
    Replies:
    10
    Views:
    2,423
    Flash Gordon
    Oct 10, 2009
  8. John Joyce
    Replies:
    2
    Views:
    246
    John Joyce
    Apr 27, 2007
Loading...