You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Using the command line download manager

Step 1

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

Generate Key File

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

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

java -jar netx-0.5.jar -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)
  • No labels