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. Matt Foster

    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. Nico Grubert
    Replies:
    1
    Views:
    2,775
    Markus Rosenstihl
    Sep 21, 2005
  2. Steve Holden
    Replies:
    0
    Views:
    508
    Steve Holden
    Sep 21, 2005
  3. Jason Cavett

    Preferred Size, Minimum Size, Size

    Jason Cavett, May 23, 2008, in forum: Java
    Replies:
    5
    Views:
    13,277
    Michael Jung
    May 25, 2008
  4. 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:
    614
    Göran Andersson
    May 13, 2006
  5. PerlFAQ Server
    Replies:
    0
    Views:
    251
    PerlFAQ Server
    Apr 9, 2011
Loading...

Share This Page