Storages & Files SFStorage object
See also object creation information - ClassID/ProgID 

Storages are directory (folder) - like objects. SFStorage wraps the COM IStorage interface and thus allows unified access to file system directories, OLE compound files and other implementations of directory like behaviour. Typical usage of the object includes only a small part of its methods and properties but however the object provides access to more features some available only in some of the storage implementations or rarely needed ones.

 

classID

Attaches a ClassID to the storage

elementType Closes the storage object. Releases the attached IStorage interface. 
name Returns the name of the storage.
Stats Returns SFInfo object for the storage.
contents Collection of SFInfo objects - one per each item in the storage.
Remove Removes an item from the storage (a sub-storage or a stream)
Rename Renames sub-storage or stream.
Commit Commits the changes to the storage.
CreateStream Creates a stream in the storage.
OpenStream Opens a stream in this storage.
CreateStorage Creates a storage of the same type in this one.
OpenStorage Opens a sub-storage in this storage.
Revert Discards all changes that have been made to the storage object since the last commit operation.
Close Closes the storage object. Releases the attached IStorage interface. 
SetStorage This method is for advanced usage only. It is used when the SFStorage object has been created directly by calling Server.CreateObject("newObjects.utilctls.SFStorage") for example. In this case the SFStorage will not be attached automatically to any real storage resource and the application can attach it by using this method. After attaching the object it can be used as in all the other cases.
CopyTo Copies the entire contents of this storage to another.
CopyElementTo Copies an element (item) contained in the storage to another storage.
MoveElementTo Moves an element (item) from this storage to another.
CreateSubStorage A helper method that allows the application to create a storage in depth (i.e. not only direct descendants of the storage).
CreateSubStream A helper method - creates a stream in depth.
OpenSubStorage A helper method that allows the application to open a storage in depth (i.e. not only direct descendants of the storage).
OpenSubStream A helper method that allows the application to open a stream in depth (i.e. not only direct descendants of the storage).
SubItemExists Checks if certain item (sub-storage or stream exists) in the storage.
GetSubItemInfo Returns the SFInfo object for the addressed sub-item (storage or stream)
newObjects Copyright 2001-2006 newObjects [ ]