| Anonomous FTP access to data |
XOR has an anonymous ftp server for a user to transfer data to a computer outside the APS firewall (Guest House network is outside the APS firewall). In sector 4, we run a script that automatically makes a copy of all user data to this server every 15 minutes ( :00, :15, :30, :45). The data is placed in a directory called "/pub/sector4/4id#/200*_*", where * is either "c" or "d" for each beamline and "#_#" is replaced by the year and run number (i.e. 7_1, for the first run { January to April } in 2007). This not only provides access to your data but also creates a backup copy in case a file is deleted. To retrieve the data using an FTP program ( or a web browser) follow these steps |
| Step 1: Zip up data directory (optional) |
If a user prefers to download all their data as one file, create a zip archive
of it by using the command:zip -r <filename> <dirname>This will create a file called “filename.zip” that contains everything in the directory "dirname". This file is compatible with PCs, so the end user can unpack using a PC also (double click on file in windows). On UNIX systems including Mac OSX (and DOS?) you unpack it by typing "unzip filename" |
| Step 2: Copy file to XOR FTP server (optional) |
If you can't wait 15 minutes for the file to be copied over you can use the following command to copy your file over to the ftp sever.
You could also copy over an entire directory if you did not do step 1, using the following command
If copying multiple files make a dirrectory in /home/ftp/pub/sector4/ to put all the files in.
|
| Step 3: Retrieve the file |
| Using an ftp program: |
1. Connect to ftp.xor.aps.anl.gov |
| Using a web browser: |
1. Go to http://ftp.xor.aps.anl.gov/pub/sector4 |



