Question
This assignment deals with file transfers. The purpose of the assignment is to show that you know how to transfer files from computers off of
This assignment deals with file transfers. The purpose of the assignment is to show that you know how to transfer files from computers off of our network (e.g., your own PC) to computers on our network.
In this assignment, I use the phrase your PC to refer to the machine you are actually seated at, the one to which your keyboard is connected. It could be running Windows, OS/X, or Linux.
-
It might not actually be a PC that you own You might, for example, be using a PC at work or in a library.
- You will need, however, to be able to store and manipulate files on it (possibly on a USB drive) and to install an sftp client on it or to run one from a USB drive.
-
You should not, however, use a PC directly connected to the CS Dept local network, including CS Lab machines, the CS Linux servers, and the CS Virtual PC Lab.
1 The Assignment
-
-
In your Unix account, create the directory ~/UnixCourse/sftpAsst.
-
Log out of your ssh session. Do not log back into any of the ssh servers until step 5, below.
-
Use sftp via the server cs252ft.cs.odu.edu1 to download the file /var/opt/cs252/shakespeare.zip to your PC. Unpack it and examine the files inside. You should find that you have a mixture of text and binary files. These were all prepared on a Windows PC and follow Windows encoding conventions.
-
Use sftp, again via the cs252ft.cs.odu.edu server to upload those files from inside the zip archive from your PC to the directory you created in step 1.
-
Open up an ssh session connected to one of the CS Linux servers. Convert any transferred text files, if necessary, to Unix encoding conventions.
Give the command
~cs252/bin/sftpAsst
-
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started