Transferring Files to and from Oscar
There are several ways to move files between your machine and Oscar. Which method you choose will depend on how much data you need to move and your personal preference for each method.
You can drag and drop files from your machine to the Oscar filesystem via SMB. This is an easy method for a small number of files. Please refer to this page for mounting filesystem via SMB.
Mac and Linux
You can use
scpto transfer files. For example to copy a file from your computer to Oscar:
scp /path/to/source/file <username>@ssh.ccv.brown.edu:/path/to/destination/file
To copy a file from Oscar to your computer:
scp <username>@ssh.ccv.brown.edu:/path/to/source/file /path/to/destination/file
You can use
rsyncto sync files across your local computer to Oscar:
rsync -azvp --progress path/to/source/directory <username>@ssh.ccv.brown.edu:/path/to/destination/directory
Windows On Windows, if you have PuTTY installed, you can use it's
pscpfunction from the terminal.
- DUO is required if you are not connected to approved networks, e.g., home network
- There is no interactive terminal message but your Phone will get a prompt automatically
- DUO is NOT required if you are connected to approved Brown networks
- A personal Windows computer must have CrowdStrike installed in order to be on approved Brown networks.
In general, you can specify the following for your GUI programs:
- Protocol: SFTP
- Host: transfer.ccv.brown.edu
- User: your Oscar username
- Password: your Brown password
Preferencesmenu in WinsCP. In the poped up window, click
Backgroundto (Figure 1)
Maximal number of transfers at the same timeto 1
Use multiple connections for single transfer
Figure 1 WinSCP Maximal Transfers
Enduraceto (Figure 2)
Automatically reconnect sessionto 5 seconds
- uncheck Automatically reconnect session, if it stalls
Keep reconnection forto 10 seconds
Figure 2 WinSCP Reconnect
Figure 3 WinSCP Session Creation
Editmenu and then select the
Settingssubmenu, and then change the
Timeout in secondsto 0 to disable, as shown in Figure 2
Figure 4 Disable Timeout
Open the Site Manager as show in Figure 5.
Figure 5 Open Site Manager
Click the 'New Site' button to add a new site, as shown in Figure 4:
Figure 6 New Site
Limit the number of simultaneous connections to 1, as shown in Figure 5.
Figure 7 Limit Simultaneous Connections
Click the 'Connect' button to connect to Oscar and transfer files.
Figure 8 Cyberduck Connection
You may see a popup window on 'Unknown Fingerprint'. You just need to check the 'Always' option and click 'Allow'. This is windows should not pop up again unless the transfer server is changed again.
Figure 9 Unknown Fingerprint
Globus is a secure, reliable research data management service. You can move data directly to Oscar from anothe Globus endpoint. Oscar has one Globus endpoint:
If you want to use Globus Online to move data to/from you own machine, you can install Globus Connect Personal. For more instructions on how to use Globus, see the Oscar section in the Globus documentation.
LFTP is a sophisticated file transfer program supporting a number of network protocols (ftp, http, sftp, fish, torrent). It has bookmarks, a built-in mirror command, can transfer several files in parallel and was designed with reliability in mind. You can use the
LFTPmodule from Oscar to transfer data from any (S)FTP server you have access to directly to Oscar. Below are the main
LFTPcommands to get you started:
module load lftp # To load the LFTP module from Oscar
lftp -u login,passwd MyAwesomeUrl # To connect to your (S)FTP server
ls # To list files on the (S)FTP server
!ls # To list files in your directory on Oscar
get MyAwesomeFile # To download a single file
mirror # To download everything as is from the server
mirror --directory=/name_of_directory/ # To download a specific directory