Skip to main content

Latest Tweets

Using WinSCP to transfer and synchronize data and programs

Print Friendly, PDF & Email

Users can use SSH-based transfer mechanisms on ECCO. A convenient graphical tool is available for Windows users: WinSCP. Brief tutorial:

Download and Install WinSCP

Go to http://winscp.net/eng/download.php and download the Installation package or Portable executable (the latter does not require installation). During installation, we suggest choosing the Commander view, as it is more intuitive for "synchronizing" transfers.

Connect to ECCO

When first opening the app, you will be prompted to login to a new site:

selection_317

Host name: ecco.vrdc.cornell.edu, User name: your ECCO login. You should save the connection.

Setting up the transfer

You should now navigate to where your programs or data are on your local machine (on the left) and to where they should go on ECCO (on the right). For instance, in the example, the left pane shows my laptop's directory "Documents\myproject" and the right pane shows a directory in the home directory "$HOME/Workspace/myproject".

virtualbox_win10vbox_19_12_2016_10_52_40

On the top left, you will see a button labeled "Synchronize". Click on it to get a dialog box:

virtualbox_win10vbox_19_12_2016_10_55_38

Select "Target directory"  = "Both", and "Use same options next time". You might want to uncheck the "Preview changes" after the first couple of times, once you've become comfortable with the actions of WinSCP.

Keeping directories in sync while you work

Alternatively, you can choose the button to the left of "Synchronize", called "Keep remote directory up to date". It has similar options, but is primarily a way to automatically UPLOAD programs to the ECCO directory, by monitoring changes in the local directory.

virtualbox_win10vbox_20_12_2016_14_18_56

Now continue working on your programs as you normally would. Change a file on your laptop, and the file will automatically appear on ECCO. In a separate (SSH) window, you can then be submitting your programs on ECCO.