How to get your data from the beamline

How do I get my data from the T: drive?

There are a couple ways to do this.

SFTP or SSH Client

The easiest way is to download your favorite SFTP or SSH client, shell, or gui. For Macs Courtney uses Fugu, Sam uses fetch, and for PC use WinSCP. But you can search and download your favorite program; they all have their strengths and weaknesses

In the “connect to”, “host”, or similar field enter

ssrlxfs.slac.stanford.edu

When prompted for your user name and password use the same one that you log onto the beamline with, typically b_lastname or b_group’slastname

If given the choice choose SFTP rather than FTP.

The SFTP will put you in the WRONG folder /home/username , you probably won’t see your data there you will need to change directories to /ssrlbldata1/username to find your data You can download (get) the files you want. Typically they will be saved in your downloads folder or whichever folder you select.

Command Line or Terminal

An alternate method is to use your computer’s command line or terminal: In the command line or terminal of your “home” computer go to the folder you wish to put your data in SFTP to the T drive by typing

sftp username@ssrlxfs.slac.stanford.edu

you will be prompted to enter your password, do it! (this is the same username and password you used at the beamline) then you can navigate through your T: drive The SFTP will put you in the wrong folder /home/username , you probably won’t see your data there you will need to change directories to /ssrlbldata1/username to find your data. To do this type

cd ../..

then

cd ssrlbldata1/username/

To download your files type

mget filename

or

mget *.*

this will get/download all the files in the current folder or to download a whole folder use

mget –r folder name

the –r is recursive and will download all the files in the folder the files/folders will be downloaded to whatever folder you sftp’d from on your “home” computer