Gel Transfer Version 1.0.4 (For System 8.5 and above) by Erik Ferlanti August 15, 1999 Description Gel Transfer is an AppleScript droplet that allows transfer of files and folders to a file server. This is accomplished by dragging & dropping the file(s) on the droplet. If the file server is not mounted, the script will log on and mount the specified volume. Each ³run³ of files copied to the file server will be put in a folder named by the date (i.e. July_7_1998) and put into the destination folder. If a folder or file name being copied to the file server already exists for that particular date, it will be renamed with a _²# of copies² appended to its name (i.e _1, _2, etc.). Requirements 1) AppleScript 1.3 or higher (included with System 8.5 or later) 2) Jonıs Commands 2.0.5 scripting addition (OSAX) 3) Script Tools 1.3.6 scripting addition (OSAX) 4) ACME Script Widgets 2.5 scripting addition (OSAX) AppleScript is found in the Extensions Folder. If it is not installed, it can be installed from the System CD. Make sure that the Standard Additions scripting addition is also installed. Scripting additions are placed in the Scripting Additions folder. This is located in the in the System Folder. Installation Client Just run the included installer and all the relevant files will be installed on your computer. The required scripting additions will also be installed if they are not found on the computer at installation. Basically, a Gel Transfer folder will be created at the root of the hard drive which will contain the Gel Transfer droplet, this README, and a TransferLog file. An alias of the Gel Transfer droplet will be placed on the desktop. Server 1) Create a new user * Go to Control Panels -> Users & Groups * Click new user button * Give the new user a name and password (Script default: geltransfer and geltrans) * Close the user window 2) Create the main gel folder(volume) * At the root of the hard drive, create a new folder * Name the folder (Script default: Latest Gels) 3) Setup File Sharing/Gel folder sharing (2 methods): Method 1 (sharing the whole hard drive): * Go to Control Panels -> File Sharing * Make sure File Sharing is turned on * Click once on the hard drive * Go to File menu -> Get Info -> Sharing... * Click the box: Share this item and its contents * Close the dialog box Method 2 (sharing just this folder): * Go to Control Panels -> File Sharing * Make sure File Sharing is turned on * Click once on the gel folder that was just created * Go to File menu -> Get Info -> Sharing... * Check the box which says Canıt move, rename, or delete this item * Make sure the box which says Use enclosing folderıs privileges is unchecked * Select the newly created user from the User/Group pull-down menu * Set the user privileges to Read & Write * Set the privileges of Everyone to none * Click the copy button next to Copy these privileges to all enclosed folders * Click copy again in the dialog box 4) Remember the newly created username, password, and gel folder because they will be needed in the configuration step Configuration There are 9 parameters that can be changed by double-clicking on the Gel Transfer droplet. The parameters are stored in a file called Gel Transfer Prefs in the Preferences Folder. For the script to work properly, this must be done prior to running the script for the first time (it will complain if it finds no preferences file). A dialog box will pop up showing each parameter and its current value. To change the value, just enter a new one in the text box and click the continue button. This will step through all 9 parameters. At the end, click the save button to save the preferences file. Here are the 9 parameters and what they mean: serverVolume: The name of the volume on the file server serverName: The name of the file server serverZone: The name of the AppleTalk zone in which the file server resides userName: The name of the user created on the file server passWord: The password of the user gelFolder: The name of main gel folder created on the file server useLogFile: [yes/no] Toggles whether or not a log file is used to record each transfer logFile: The path to the log file on the client computer (i.e. HD name:Gel Transfer:TransferLog) - not necessary if useLogFile is set to no unMountServer: [yes/no] Toggles whether or not the file server will be unmounted after a transfer Revision History 1.0.4 - Fixed a bug with System 8.5 and above. The mount volume syntax has changed [8/15/99] 1.0.3 - Added a parameter that toggles whether the file server is unmounted after transfer [8/4/98] 1.0.2 - Checks to see whether the gel folder is a volume on the server or contained within a shared volume for path info [7/16/98] Duplicate files/folders copied to the server are now appended with _²#of copies² (i.e. _1, _2) [7/16/98] 1.0.1 - Date folders and gel folders on the server are now labeled hot [7/10/98] 1.0 - First release [7/7/98]