Skip to main content

Win/Unix Client and a Unix Server

Transfer files between a Win/Unix Client and a Unix Server.

This article applies to: Managed Servers


Note: This page outlines secure methods for transferring files between a Windows or Unix client and a Unix server. If you are transferring files between other systems, please see the File Transfer page to find the secure method that's right for your needs.
Recommended File Transfer Options
SFTP/SCP
(Always encrypted)
WebDAV over SSL
(Can be encrypted)
FTP over SSL
(FTPS)
(Always encrypted)
Microsoft File Sharing
(SMB/CIFS)
Win/Unix Client & Unix Server X X

What is SFTP/SCP? (Okay to use to transfer confidential data)

SFTP (Secure File Transfer Protocol) is a file transfer protocol similar to FPT but with additional security (both commands and data are encrypted). The SFTP client talks to the SSH daemon on the server. When you use SFTP, you can transfer files and also perform some simple file and directory commands such as listing files and changing directories.

SCP (Secure Copy Protocol) is a secure file transfer protocol. The SCP client talks to the SSH daemon on the server. It is used only for transferring files. To use SCP, you must know the exact directory tree of the destination location.

Client Setup

No additional setup is required.

Transfer Files using SFTP

  1. At the command prompt, enter:
    sftp userid@server_name.
  2. For example, sftp wrhse@warehouse.cit.cornell.edu.

    You may be prompted to enter your password.

  3. After connecting to the server, you can use standard commands including cd, dir, get, and put.
  4. To transfer files to the server, enter:
    put june06extract

Transfer Files using SCP

  1. At the command prompt, enter:
    scp source_file_name userid@server_name:/path/destination_file_name.

    For example, scp june06extract wrhse@warehouse.cit.cornell.edu:/mydata/june06extract.

Unattended File Transfers

If you want run an unattended server to server file transfer, see Unattended Server to Server File Transfers: Unix to Unix.

What is WebDAV over SSL? (Okay to use for confidential data)

WebDav (Web-based Distributed Authoring and Versioning) is a file transfer protocol that is used at Cornell in conjunction with CUWebAuth to provide additional security for single-sign on connections.

The WebDAV client sends an encrypted NetID and password to the kProxy server. The kProxy server logs into Kerberos and obtains credentials which are sent to the WebDav server. This protects NetID and password information while still allowing the ease of use provided by single sign-on.

For more information, see File Transfer Using WebDAV over SSL.

Was this page helpful?

Your feedback helps improve the site.

Comments?