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. Advertising

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

    Preferred Size, Minimum Size, Size

    Jason Cavett, May 23, 2008, in forum: Java
    Replies:
    5
    Views:
    12,586
    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:
    476
    Göran Andersson
    May 13, 2006
  5. PerlFAQ Server
    Replies:
    0
    Views:
    126
    PerlFAQ Server
    Apr 9, 2011
Loading...

Share This Page