File Transfers with WinSCP

Body

Jump to: Connecting | Uploading | Permissions | Downloading

WinSCP allows you to easily manage files on your computer and your directories on the UD server with in interface similar to Windows Explorer. With the file transfer program you will be able to:

  • View any directory or file on the server, including Web pages, graphics, documents, and more.
  • Create, rename, move, and delete folders and files within your directory on the server.
  • Transfer any file or folder between your computer and your directory on the server.
  • Change the permissions of files in your directory on the server.

Connecting WinSCP

  1. If you haven't already done so, download and install WinSCP.
  2. Open WinSCP (either from the Start Menu or a desktop shortcut).
  3. On the log in screen that appears, enter the following information.
    • File protocol: SFTP
    • Host name: copland.udel.edu
    • Port number: 22
    • User name: UDelNet ID (Do not include "@udel.edu" after your ID)
    • Password: Your UDelNet password

 WinSCP Login dialogue box 

  1. Click Login
  2. If this warning dialog box appears and you are using your own computer, click Yes. If you are using someone else's computer or a computer in a public site, click No.

host key warning message dialogue box.

  1. You are now connected and free to upload and download files.

Host connected window. Files can be uploaded and downloaded.

Back to top


Upload a file

  1. After connecting to the server, navigate to the desired folder as if you were using Windows Explorer.

  2. Simply drag and drop the file into the WinSCP window.
    • You can also move a file into WinSCP by pressing CTRL+V on your keyboard, or by clicking Paste from the File menu.

annotated window shoes file being moved from system desktop to WinSCP window so that file can be uploaded.

  1. A window will appear with upload options. You MUST click Transfer Settings before completing the upload.

Transfer settings button on Upload dialogue box is indicated.

  1. On the Transfer settings dialog box, select Automatic as the Transfer Mode.

 Automatic button in Transfer settings dialogue box is indicated.

  1. Set the appropriate Permissions. Read the next section for more information.
  2. After you've set the appropriate permissions, click OK and your file transfer is complete.

Back to top

Setting File and Folder Permissions

You must set the correct permissions for every file and folder you upload, regardless of whether the files are for personal or shared use. You must delegate who (users) can do what (attributes) with your files and folders:

File and Folder Permissions for Users
Owner You. The user with full rights to all files and directories within a specific server directory space. This user can change file and folder attributes.
Group A select group of users in the same UNIX group as you. Visit UD's UNIX Group page for more information.
Others All other people - the world.
Attributes
R (read) The file or folder can be read (viewed).
W (write) The file or folder can be written to (edited).
X (execute) A folder can be opened to access files. A website can run a script.
  1. On the Transfer Settings dialog box, choose the Set permissions checkbox, and then click the ellipses to configure permissions.

Set Permissions check Box on Transfer Settings dialogue box is indicated.

  1. You'll be presented with a table of checkboxes allowing every possible user-attribute combination. Recommended permissions for different files and their applications are below.

File or folder strictly for personal use.

File or folder strictly for personal use = 600

File or folder for sharing.

File or folder for sharing = 0664

A basic HTML website. WinSCP's default permission settings.

A basic HTML website. WinSCP's default permission settings  = 0664

A website that runs a script or .include file.

A website that runs a script or .include file = 0755

A directory or index of files and folders.

Director or index of files and folders = 0775

  1. Click Close on the permissions pop-up, and then click OK on the Transfer settings dialog box.
  2. Click OK on the main Upload window. Your file transfer is complete.

Changing a file's permissions after uploading

Simply right-click the file, click Properties, and set the attributes for each user. 
 

Setting default permissions

  1. From the View menu, select Preferences....
  2. On the left menu bar, click Transfer.
  3. Click Edit...
  4. Set your default permissions and click OK.

Back to top

Download a file

  1. Downloading a file from the server is as easy as dragging and dropping the file from WinSCP to your computer. 
  2. Drag the file from WinSCP to your desktop or other location on your computer.
    • You can also right-click the file and select Download..., OR click the file once to highlight it, and then click Download in the toolbar.
  3. Change the download location if necessary.

Download dialogue with field to change download path indicated. 

  1. Click OK. The file transfer is complete.

Back to top

Details

Details

Article ID: 474
Created
Wed 7/24/19 9:49 AM
Modified
Fri 4/30/21 11:40 AM