Installing SoftArtisans JFile

  1. To install SoftArtisans JFile, unzip JFilexxx.Zip (xxx represents the version number). Extract the file to C:\Program Files\SoftArtisans\JFile (or any stable location on your server).

  2. Optional. To run .asp sample scripts, create a virtual directory called JFileSamples and map it to JFile's physical Samples directory:

    1. Open the Internet Information Services (IIS) explorer.
    2. Right-click Default Web Site.
    3. Select New -> Virtual Directory.
    4. For Alias, enter JFileSamples.
    5. Browse to JFile's Samples directory.
    6. Check "Read" and "Run scripts."
    7. Click "Finish."

  3. To access the JFile documentation, open sajfile.chm, a compiled html help file containing all of the documentation.  This file is located at in the Docs directory which was included with the JFile installation files. 

  4. Optional. To open the JFile documentation in a browser (rather than using the sajfile.chm version of the documentation), create a virtual directory called JFileDocs and map it to JFile's physical Docs directory:

    1. Open the Internet Information Services (IIS) explorer.
    2. Right-click Default Web Site.
    3. Select New -> Virtual Directory.
    4. For Alias, enter JFileDocs.
    5. Browse to JFile's Docs directory.
    6. Check "Read" and "Run scripts."
    7. Click "Finish."

    Using JFile with Netscape Navigator

    The file filetransfer.jar contains the Java Applet for Netscape Navigator. To use the applet in an HTML page,

    1. Create an HTML script that uses JFile for uploading or downloading.
    2. Copy filetransfer.jar to the directory containing the HTML page.
    3. Reference the HTML page from Netscape 4.7 or higher.
    You do not have to include filetransfer.jar in the directory containing the HTML page. If filetransfer.jar is in a different directory, assign filetransfer.jar's complete relative path or URL to the <applet> tag's codebase property. For example,
    <APPLET codebase="http://localhost/JFileSamples" code="softartisans.filetransfer.UploadClient.class" 
    height="0" width="0" mayscript archive="filetransfer.jar" name="fileupload">

    Using JFile with Microsoft Internet Explorer

    The file filetransfer.cab contains the Java Applet for Internet Explorer. To use the applet in an HTML page,

    1. Create an HTML script that uses JFile for uploading or downloading.
    2. Copy filetransfer.cab to the directory containing the HTML page.
    3. Reference this HTML page from Internet Explorer 4.0 or higher.
    You do not have to include filetransfer.cab in the directory containing the HTML page. If filetransfer.cab is in a different directory, assign filetransfer.cab's complete relative path or URL to the <applet> tag's codebase property. For example,
    <APPLET codebase="http://localhost/JFileSamples" code="softartisans.filetransfer.UploadClient.class" 
    height="0" width="0" mayscript archive="filetransfer.jar" name="fileupload">

    Using JFile with Microsoft Internet Explorer and MacOS

    A Mac version of filetransfer.jar contains the Java Applet for Mac/Internet Explorer clients. You will find the file Mac_filetransfer.jar in the folder MAC_JAR, in JFile's installation directory.

    1. Create an HTML script that uses JFile for uploading or downloading. Set the APPLET tag's codebase attribute to "/MAC_JAR."
    2. Copy the directory MAC_JAR to the directory containing the HTML page. The MAC_JAR directory contains Mac_Filetransfer.jar.
    3. Reference this HTML page from Internet Explorer 4.0 or higher.
    You do not have to include MAC_JAR\filetransfer.jar in the directory containing the HTML page. If MAC_JAR\filetransfer.jar is in a different directory, assign its complete relative path or URL to the <applet> tag's codebase property. For example,
    <APPLET codebase="http://localhost/JFileSamples/MAC_JAR" code="softartisans.filetransfer.UploadClient.class" 
    height="0" width="0" mayscript archive="Mac_filetransfer.jar" name="fileupload">

     

    Previous Page Next Page