Size of a file

Discussion in 'ASP General' started by Mark, May 6, 2004.

  1. Mark

    Mark Guest

    Hi - given a filename on the server, how would you use the filesystem
    object to determine its size?

    Thanks,

    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!
     
    Mark, May 6, 2004
    #1
    1. Advertising

  2. Mark

    Ray at Guest

    With the size property of the file object. The size is returned in bytes.

    Please download the Windows Scripting Host documentation.
    http://www.microsoft.com/downloads/details.aspx?FamilyId=01592C48-207D-4BE1-8A76-1C4099D7BBB9
    You cannot live without this reference!

    Ray at work


    "Mark" <> wrote in message
    news:...
    >
    >
    > Hi - given a filename on the server, how would you use the filesystem
    > object to determine its size?
    >
    > Thanks,
    >
    > *** Sent via Developersdex http://www.developersdex.com ***
    > Don't just participate in USENET...get rewarded for it!
     
    Ray at, May 6, 2004
    #2
    1. Advertising

  3. Tom Kaminski [MVP], May 6, 2004
    #3
  4. Aaron Bertrand - MVP, May 6, 2004
    #4
  5. Mark

    Dominique Guest

    bytes /1024 = KB


    "Mark" <> wrote in message
    news:...
    >
    >
    > Hi - given a filename on the server, how would you use the filesystem
    > object to determine its size?
    >
    > Thanks,
    >
    > *** Sent via Developersdex http://www.developersdex.com ***
    > Don't just participate in USENET...get rewarded for it!
     
    Dominique, May 6, 2004
    #5
    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. tiewknvc9
    Replies:
    6
    Views:
    695
    Chris Uppal
    Oct 1, 2006
  2. Jason Cavett

    Preferred Size, Minimum Size, Size

    Jason Cavett, May 23, 2008, in forum: Java
    Replies:
    5
    Views:
    12,742
    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:
    314
    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:
    343
    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,091
    Flash Gordon
    Oct 10, 2009
Loading...

Share This Page