Features and Benefits

System Requirements

Installation and Getting Started

New in Version 2

Release Notes

Setting up Sample Code

Signing Applets

 

SoftArtisans JFile

http://www.softartisans.com

Secure Java Applet for Bi-directional File Transfer

Version 2.0

November 2001

Thank you for using SoftArtisans JFile!


Features and Benefits

SoftArtisans JFile™ is a signed Java Applet that gives web site developers the ability to distribute multiple files to a user's local system through a browser. It also allows users to upload multiple files with form data to an HTTP server from a browser. All the data sent follows the uploading standards described in RFC1867.

Key Features:

* New Features in Version 2:

Pricing:

Top


System Requirements

Client Requirements

Server Requirements

Top


Installation and Getting Started

  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. 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.

  3. 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."

  4. 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."

    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.

    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.

    Using JFile with Microsoft Internet Explorer and MacOS

    The file Mac_filetransfer.jar contains the Java Applet for Mac/Internet Explorer clients. You will find 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.

    Click here to see how to set up the Samples which demonstrate the use of SoftArtisans JFile

    Top


    New in Version 2

    * New Features in version 2:

    Top


    Release Notes

    Known Issues:

     

    Top


    Setting up Sample Code

    In order to run the samples, SoftArtisans FileUp or an equivalent component that can accept RFC1867 type uploads, must be installed on the machine where the HTTP server resides.

    To run JFile's 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."

    Once setup is completed point the browser to:
    http://<machinename>/jfilesamples

    Check your JFile installation files or the SoftArtisans website for the latest documentation and samples.

    Top


    Signing Applets

    The standard version of SoftArtisans JFile is signed by SoftArtisans, Inc. In the case of a hidden upload or download, it will display a confirmation dialog asking the user if he or she agrees to transfer the file.

    With the SoftArtisans signed version of JFile, you also received the unsigned Java classes, allowing you to create an applet with your company signature, that will not display a transfer confirmation dialog.

    SoftArtisans, Inc. disavows all responsibility for malicious use of the JFile applet to take files from a user's hard disk or to place files on a user's hard disk without their consent. By signing the applet with your signature, you assume full responsibility that the applet is used in an appropriate manner that respects the user's privacy and integrity.

    Step 1: Obtaining a Code Signing Certificate

    To sign the applet, you must obtain a Software Developer's Certificate from a Certificate Authority such as Versign. See http://www.verisign.com/developers/ for the latest information about obtaining a Developer's Certificate.

    To create a signed applet for use with Netscape Navigator, you must create a JAR file using a Digital ID for Netscape Object Signing.

    To create a signed applet for use with Microsoft Internet Explorer, you must create a CAB file using a Digital ID for Microsoft Authenticode.

    Step 2: Signing the applet for Netscape Navigator:

    If you already have a certificate you must import it into the Netscape browser for the following to work properly.

    If you would only like to test the applet you can create a test certificate for Netscape. For more information on how to do this, see http://developer.netscape.com/docs/manuals/signedobj/signtool/index.htm

    Creating and Signing a JAR

    Step 3: Signing the applet for Microsoft Internet Explorer (on non-Mac platforms):

    If you already have certificates (.cer and .spc), place them in JFile's \lib\iecert directory.

    Creating a Test Certificate for IE

    For more information about signing and cabs see Microsoft KB Article Q168941 at http://support.microsoft.com/support/kb/articles/Q168/9/41.asp

    Signing the CAB with a timestamp allows the signature on the CAB to stay valid after the certificate has expired. Our sample shows how to sign the CAB using the Verisign timestamp service. The machine you are using for signing must be able to access the Verisign site in order to obtain the timestamp. In our tests, the signcode utility from Microsoft could not access the Verisign site across a proxy server. It requires a direct connection to the Internet.

    Creating and Signing a CAB

    Step 4: Signing the applet for Macintosh Internet Explorer:

    See the following article for instructions on signing the jar file for Mac IE:
    http://developer.apple.com/technotes/tn/tn1175.html


    Copyright © 2001, SoftArtisans, Inc.