Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

Using the command line download manager

...

Generate a key file

You need to generate a key file to authenticate yourself to the server. To do this simply click on this link:

Generate Key File

You will need to login with your SLAC username/password if you have not already done so. Save the downloaded key file as ~/.downloadManager/glastKeyFile. Remember to set the permissions on the file/directory so it can only be read by the user who will run the command line download manager.

Download the

...

launcher jar file.

Store it anywhere you like.

Make sure you have a suitable version of Java

...

installed

java -version

You need version 1.5 or greater.

...

From the directory where you save netx-0.5launcher.jar issue the following command.

No Format
java -jar netx-0.5.jar -headless -basedir ~/.downloadManager -jnlp http://glast-ground.slac.stanford.edu/DownloadManager/LineMode.jnlp -arglauncher.jar --folder=/Data/Flight/Level1/LPA -arg --group=FT1 --destination data/FT1

Notes:

The full list of arguments supported is:

No Format

 -destination,--d <arg>   Destination folder
 -folder,--f <arg>        Folder to download
 -group,--g <arg>         Group to download
 -help,--h                Display usage information
 -keyFile,--k <arg>       File containing download key
 -nDownloads,--n <arg>    Number of simultaneous downloads
 -q,--quiet               Turn off informational messages
 -runMax <arg>            Maximum run number
 -runMin <arg>            Minimum run number
 -x,--debug               Turn on debug output

Notes:

  • We should add more options, to support MET ranges and full data catalog meta-data search
  • We need a front-end script to make the command simpler
  • We need to document the options
  • The format of the downloaded files will change shortly
  • The download manager checks if the files to be downloaded already exist. If so they will not be downloaded again. If a newer version exists it will replace the existing version (and the existing version will be renamed *-old-n)