Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Size of a file

Reply
Thread Tools

Size of a file

 
 
Mark
Guest
Posts: n/a
 
      05-06-2004


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!
 
Reply With Quote
 
 
 
 
Ray at
Guest
Posts: n/a
 
      05-06-2004
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/d...6-1C4099D7BBB9
You cannot live without this reference!

Ray at work


"Mark" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
>
> 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!



 
Reply With Quote
 
 
 
 
Tom Kaminski [MVP]
Guest
Posts: n/a
 
      05-06-2004
"Mark" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
>
> Hi - given a filename on the server, how would you use the filesystem
> object to determine its size?


http://msdn.microsoft.com/library/en.../jsproSize.asp

--
Tom Kaminski IIS MVP
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
http://mvp.support.microsoft.com/
http://www.microsoft.com/windowsserv...y/centers/iis/



 
Reply With Quote
 
Aaron Bertrand - MVP
Guest
Posts: n/a
 
      05-06-2004
http://www.aspfaq.com/2296

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/




"Mark" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
>
> 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!



 
Reply With Quote
 
Dominique
Guest
Posts: n/a
 
      05-06-2004
bytes /1024 = KB


"Mark" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
>
> 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!



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: File Size - Big File Size Keith Thompson C Programming 6 10-03-2009 10:28 PM
Preferred Size, Minimum Size, Size Jason Cavett Java 5 05-25-2008 08:32 AM
Disconnect Between HD File Size & PS's File Size One4All Digital Photography 8 09-12-2007 03:02 AM
mega pixels, file size, image size, and print size - Adobe Evangelists Frank ess Digital Photography 0 11-14-2006 05:08 PM
compare file size with online file size tiewknvc9 Java 6 10-01-2006 09:30 AM



Advertisments