Public FTP / SCP Usage

Uploads to the CCAR FTP server from outside the University Network

Directions for non-CCAR users to upload data to the CCAR public FTP site:

- Use any FTP client (i.e. Filezilla, etc) and connect to:
server: ccar.colorado.edu
username: anonymous
password: your email address
note: Make sure to set the timeout period to at least 40 seconds. The typical 20 seconds is not enough.
- Once connected, change directory to incoming, then change directory to the username of the CCAR member who will be receiving the data.
- Upload the data to the directory.
- Once the files are there, the anonymous user should log off since uploading is all they are allowed to do.
- Now the CCAR user who is receiving the files must log into any of the Linux computers. Once logged in, they can cd to "/projects/ftp/incoming/USERNAME" and copy the files to their home or projects directory.
note: Due to FTP security, the CCAR user will not immediately have permission to retrieve the files that were uploaded. The CCAR user must wait at least 15 minutes after the file is uploaded for our automated script to run and change the permissions so that the CCAR user has access to retreive the data.

Make files available for download from CCAR's FTP site

The CCAR user must log into any of the Linux computers and cd to "/projects/ftp/pub/USERNAME". Once there, he/she can copy the files to be made available for download to that location.

These are the directions you can provide outside users so that they may access the CCAR public FTP site.

Option #1:
- Use any FTP client (i.e. Filezilla, etc) and connect to:
server: ccar.colorado.edu
username: anonymous
password: your email address
note: Make sure to set the timeout period to at least 40 seconds. The typical 20 seconds is not enough.
- Once connected, change directory to pub, then change directory to the username of the CCAR member who is providing the data.
- You should see the list of available files. Select to download.

Option #2
- In the address window of any web browser, write the following URL exactly as below:
ftp://ccar.colorado.edu/pub/
- Let the page load. It will take longer than a normal website
- Once loaded, you'll see the listing of files. Just click on the file to download.

Using SCP instead of FTP

A much easier way to transfer files exists called SCP or "Secure Copy". SCP allows you to copy from one Linux/Unix computer to any other Linux/Unix computer located anywhere in the world. All that is required is a login name and password on both machines. You can always type "man scp" to get the full blown manual page on scp but here's a quick and easy example.
I want to copy an entire directory from /scratch on cheetah.colorado.edu to /scratch on serval.colorado.edu. First log into cheetah.colorado.edu and cd to one directory outside the directory you want to copy (say I want to copy /scratch/temp, I would cd to /scratch). Once there, it's simply the following command:
  • scp -r orig_directory USERNAME@machine2:destination_directory
For this example, that would be:
  • scp -r temp USERNAME@serval.colorado.edu:/scratch
You can also do the opposite and copy a file from a remote machine. For example, copy /scratch/temp from serval.colorado.edu to /scratch on cheetah.colorado.edu.
While logged onto cheetah.colorado.edu:
  • scp -r USERNAME@machine2:orig_directory destination_directory
  • scp -r USERNAME@serval.colorado.edu:/scratch/temp /scratch

A few notes about SCP

When using SCP, it will always ask for your password for the remote system, that's why it's called SECURE copy. The "-r" stands for recursive and should only be used when copying an entire directory. If you just need to copy a single file, omit the "-r".
SCP is a powerful tool, you can read the man page for detailed information