SoftArtisans FileManager


You received SoftArtisans FileManager™ free with your purchase of XFile. SoftArtisans FileManager answers all of your file management needs in a single, easy-to-use control.

SoftArtisans FileManager is 100% script compatible with Microsoft's Scripting.FileSystemObject, while offering numerous advantages:

Exercise: Using SoftArtisans FileManager on the Client

The following example demonstrates deleting a file using SoftArtisans FileManager.

Create an HTML script, containing the following lines.

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

      <script language="vbs">
      Sub DeleteFile_onClick()
      FileMgr.DeleteFile "c:\x.txt"
      End Sub
      </script>

      <input Type=Button Name="DeleteFile" value="Delete File">
    

Understanding the Script
Using SoftArtisans FileManager on the Server

Exercise 16 demonstrates creating an instance of SoftArtisans FileManager on the client, using the <object> tag. You can also use FileManager on the server, within an ASP script.

To create an instance of FileManager within an ASP script, use Server.CreateObject, as follows.

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


Copyright © 2010 SoftArtisans, Inc. All rights reserved.