L-Store Usage Instructions - Uploading/Downloading Files

From ReddNet
Revision as of 10:49, 16 January 2008 by Managanj (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  1. Setting Up Lstore
  2. Uploading/Downloading Files
  3. Other Applications

Uploading Files

  • If not set permanently, begin by sourcing the setup environment:
 $ source setup_env
  • Upload file using the lstcp command (form, then an example):
 $ lstcp filepath/filename server_name:/home/username/filepath/filename
 $ lstcp ~/lstore/tests/upload2 testmeta1.reddnet.org:/home/<username>/
  • When asked for the password, use the general system password "changeme" (password for lstore_root, which was set as the login-id in setup_env) which is in effect until individual user security systems are created. You should only have to do this once per session.
  • When uploading (or downloading), you can specify a new name for the file at the end of the filepath. If you are trying to place the uploaded file in a new directory, use the --mkdir option outlined in Other Applications
  • Output: (the warnings may or may not appear, and can be ignored)
 log4j:WARN No appenders could be found for logger (root).
 log4j:WARN Please initialize the log4j system properly.
 Copying from /home/<username>/lstore/tests/upload2 to <username>@testmeta1.reddnet.org:2702/home/<username>/upload2

Downloading Files

  • Again, begin by sourcing the setup environment as above.
  • Download file using the lstcp command (form, then an example):
 $ lstcp lstore_server_name:/home/username/filepath/filename filepath/filename
 $ lstcp testmeta1.reddnet.org:/home/<username>/upload2 ~/lstore/tests/download2
  • Output: (again the warnings can be ignored if they appear)
 log4j:WARN No appenders could be found for logger (root).
 log4j:WARN Please initialize the log4j system properly.
 Copying from managaje@testmeta1.reddnet.org:2702/home/managaje/upload2 to /home/managaje/lstore/tests/download2
 .
  • The file should now appear in the download directory:
 $ ls 
 download2  upload2

See Other Applications for an explanation of various options