Get file size on client machine ?

Discussion in 'ASP General' started by Poppy, Apr 13, 2004.

  1. Poppy

    Poppy Guest

    I use asp upload enabling users to upload files to the server.

    This works fine but I somehow need to check to see how big the file to be
    uploaded is.

    How can I do this ?
    Once its on the server its easy to get the size of it but how do I get the
    file size when the file is still on the clients machine ?
     
    Poppy, Apr 13, 2004
    #1
    1. Advertisements

  2. Poppy

    Matt Foster Guest

    You can't, not without the use of some control which would access the file
    properties of the client's file.
     
    Matt Foster, Apr 13, 2004
    #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. tiewknvc9
    Replies:
    6
    Views:
    919
    Chris Uppal
    Oct 1, 2006
  2. Jason Cavett

    Preferred Size, Minimum Size, Size

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

    Re: File Size - Big File Size

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

    Re: File Size - Big File Size

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

    Re: File Size - Big File Size

    Nobody, Oct 5, 2009, in forum: C Programming
    Replies:
    10
    Views:
    2,432
    Flash Gordon
    Oct 10, 2009
  6. Nabanit Barooah

    How to get file size in Client Machine using scripts?

    Nabanit Barooah, May 10, 2006, in forum: ASP .Net Security
    Replies:
    1
    Views:
    651
    Göran Andersson
    May 13, 2006
  7. John Joyce
    Replies:
    2
    Views:
    250
    John Joyce
    Apr 27, 2007
  8. PerlFAQ Server
    Replies:
    0
    Views:
    279
    PerlFAQ Server
    Apr 9, 2011
Loading...