top of page

How to get your data from the beamline

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

There are 2 possible ways to do this:

1) SFTP or SSH Client

The easiest way is to download a free SFTP or SSH client, shell, or gui.

For Macs, Nick uses "Cyberduck" available from the Mac App Store, Sam uses "Fetch"

For PC use "WinSCP".

 

But you can search and download a program of your choosing; they all have their strengths and weaknesses

 

In your program click 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 /data/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.

2 ) 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 /data/username to find your data. To do this type

cd ../..

then

cd data/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

bottom of page