J
Jack Ramius
Ok.....
I'm trying to create a project where my company has to track certain
images on our company web site. What we need is the name, date
modified and size of the files in a presentable ASP app list format.
What I've done was create a database that stores the file location and
name. What I need is the asp vbscript code to find the size of the
file on the website server.
I've looked up some info such as the following...
Dim fso, f, FileName
Set fso = CreateObject("Scripting.FileSystemObject")
FileName="http://www.ourwebsite.com/Pic.gif"
Set f = fso.GetFile(FileName)
Response.Write(f.Size)
but I keep getting an error on this......can anyone help?
Jack
I'm trying to create a project where my company has to track certain
images on our company web site. What we need is the name, date
modified and size of the files in a presentable ASP app list format.
What I've done was create a database that stores the file location and
name. What I need is the asp vbscript code to find the size of the
file on the website server.
I've looked up some info such as the following...
Dim fso, f, FileName
Set fso = CreateObject("Scripting.FileSystemObject")
FileName="http://www.ourwebsite.com/Pic.gif"
Set f = fso.GetFile(FileName)
Response.Write(f.Size)
but I keep getting an error on this......can anyone help?
Jack