View Single Post
 
Old November 7th, 2006, 06:32 PM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

You're right. It's not easy, if possible at all.

In a normal Internet page, security settings prevent you from getting this information.

There may be third party ActiveX controls that can do this, and with lowered security settings you could use the FileSystemObject and VB Script to get the file size. But, only then in IE and in an Intranet scenario....

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.