This is an old revision of the document!


Transferring Files To/From Your Linux Account

To W&L Windows Accounts

  • Open a file manager window
  • From the “File” menu, select “Connect to Server”
  • Change the Service type to “Windows share”
  • The server is mfsacad1.wlu.edu
  • The domain name is ad.wlu.edu
  • Enter your user name
  • Click connect and enter your password

To/From Home Machines

Mac/Linux

scp: Secure CoPy

If you use Linux or Mac at home, you can Secure CoPy or scp your files to and from the Linux machines.

scp works similar to the cp command:

scp <source> <dest>

where either the source or the destination can be a remote location, in the form username@remotehost:path/to/resource/from/username's/home

For example

 scp thisfile username@python.cs.wlu.edu:path/to/destlocation/

If you want to copy a whole directory, use the -r option, just as in the cp command.

sftp: Secure FTP

You could also use Secure FTP (File Transfer Protocol) to transfer files.

Windows

You can use an FTP (File Transfer Protocol) tool, such as SmartFTP. I'm not sure if it still works with the latest version of Windows.

Connect to fred.cs.wlu.edu or carl.cs.wlu.edu with your username and password for the Linux machines. You can then use the GUI to transfer your files from your home machine to your Linux account and back.

Cross-Platform GUIs

  • FireFTP is a free, secure, cross-platform FTP client for Mozilla Firefox.
    • Under “Connection”, select “SFTP”. You can then use the GUI to transfer your files from your home machine to your Linux account and back.
  • FileZilla is a free, open-source, cross-platform FTP client.

For both of these applications, connect to a machine accessible from outside the W&L network (fred or carl + .cs.wlu.edu) at port number 22, using your username and password for the Linux machines.

Changing File Formats

On Linux, you can automatically change plain text files formatted for Mac or DOS to Unix using the commands dos2unix or mac2unix. Use man to learn how to use the commands.

labs/transfer_files.1522936767.txt.gz · Last modified: 2018/04/05 13:59 by admin
CC Attribution-Noncommercial-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0