The FileManager Object

To create a server-side instance of the FileManager object, use ASP's Server.CreateObject, as follows.

Set objFileManager = Server.CreateObject("SoftArtisans.FileManager")

To create a client-side instance of the FileManager object, use HTML's <object>tag, as follows.

<object classid="clsid:E7B62F4E-82F4-11D2-BD41-00105A0A7E89" codebase="localhost/SAXFileSamples/saxfile.cab"
        id="objFileManager"> </object> 

Classid specifies FileManager's unique class id, clsid:E7B62F4E-82F4-11D2-BD41-00105A0A7E89. Codebase specifies the location of saxfile.cab, which contains SAFilMgr.dll (FileManager's dll). Id assigns a name to the created instance of SoftArtisans FileManager.

The FileManager object automatically creates several sub-objects:

BinaryStream, Drive, File, Folder, PermItem, and TextStream.
FileManager Reference Contents

Copyright © 2010 SoftArtisans, Inc. All rights reserved.