WinSCP

WinSCP 3.7.6

WinSCP can be installed locally or used from the Athena platform (in the folder 'Academic').

WinSCP is a secure copy program for Windows. Secure copy is a protocol that enables you to exchange files with the UGentNet servers. Secure copy replaces the former remote copy by using the secure shell protocol For Windows users WinSCP is a user-friendly alternative for FTP over TTSSH. For the exchange of files with helios, version 3.7.6. needs to be used. Previous versions won't work.

Installing WinSCP 3.7.6

Using WinSCP 3.7.6

When starting WinSCP, you'll see a login dialog box first:

The first time you log in on a server the next warning will appear:

WinSCP asks here if the name of the server can be added to the Windows registry. Chhose YES. The next time you log in, this warning will no longer be displayed.

Once logged in with the standard settings, about the following screen will be displayed:

The panel on the left hand side displays the contents of my C: drive. The panel on the right hand side displays the contents of the Helpdesk home directory. Now you can use the mouse to click, select and drag and drop files from and to your home directory. WinSCP can be used much faster and more efficient however by using the command keys. At the bottom of the WinSCP window you can see which commands are bound to some of the function keys at the top of your keyboard.

Changing permissions with WinSCP 3

The function of the F9 key Properties deserves an additional explanation.

WinSCP enables you to change the permissions of files and folders on the server. WinSCP displays the permissions in the column Rights. These are comprised of 3 blocks of 3 characters each. These can be r (read), w (write), x (execute) or - (function disabled). The first block are the file/directory owner (you) permissions, the second block are the permissions for the group the owner is part of and the third one shows the permissions for all the other users on the system. Knowing this we can now determine 8 different types of permission sets which can apply to owner, group and other:

RightsInterpretation
---no permissions
--xexecute only
-w-write only
-wxwrite and execute
r--read only
r-xread and execute
rw-read and write
rwxread, write and execute (full permissions)

If you select a folder on the server in WinSCP 3 and press F9 you'll see this window.

If you select a folder on the server in WinSCP and press F9 you'll see this window. Now you can adjust the permissions for owner, group and other by checking the desired permissions and clicking OK. The option Set group, owner and permissions recursively will only be available if you are modifying the permissions of a directory. If you check this option all the files and subdirectories will get the same permissions as that directory. Tip : if you copy or move files or directories to the server you can set their permissions at the same time by clicking More in the dialogue.

The fields Group and Owner can be used to transfer ownership of a file or directory to a specific user or user group. Be careful while using this feature ! If you make a mistake you could deny yourself access to your files.

WinSCP is also a user-friendly alternative for the chmod command that has to be executed on the server. More information on the function of permissions can be found on our chmod page.

Advanced Options in WinSCP 3

WinSCP 3 with explorer interface as an alternative for a mounted drive.

When you click Preferences - situated on the left in thetree structure - in the login dialogue, you will we able to choose between the default "Norton Commander" interface (of which the workings are described above) and "Explorer like". If you select the "Explorer like" your WinSCP session will look like an ordinary Windows window.

This example will look familiar to people who often use a mounted network drive (aka "the H drive"). WinSCP with the explorer interface almost gives you the same functionality as a mounted drive. You can copy files using drag and drop and all of the Windows Explorer keyboard shortcuts have been implemented. Compared to a mounted drive, the only limitation is the fact that you don't have an additional drive (no "H drive") that can be accessed directly by other applications.

For extra information on WinSCP go to the WinSCP site.

top