Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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 netx launcher jar file. Store it

...

anywhere you like.

Make sure you have a suitable version of Java instlled

java -version

You need version 1.5 or greater.

Run the download manager

For exampleFrom the directory where you save netx-0.5.jar issue the following command.

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

Notes:

  • 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)