Storages & Files Stats
Stats read-only property

Returns SFInfo object for the storage.

Syntax:

Set info = object.stats

Examples:

Set sf = Server.CreateObject("newObjects.utilctls.SFMain")
Set dir = sf.OpenDirectory("C:\mydirectory\mydirectory2")
Set info = dir.stats
Response.Write "Last accessed: " & info.Accessed
Response.Write "Last modified: " & info.Modified

Remarks:

This property is supported by both SFStream and SFStorage objects. The application can call it even without knowledge about the exact object type.

newObjects Copyright 2001-2006 newObjects [ ]