13,420
edits
Changes
→INVESTIGATION 2: USING SECURE FILE TRANSMISSION CONTROL PROTOCOL
# Issue the following sftp command: <span style="color:blue;font-weight:bold;font-family:courier;">pwd</span><br><br>What is the pathname? Which server does this represent: local or remote?<br><br>
# Issue the following sftp command: <span style="color:blue;font-weight:bold;font-family:courier;">!pwd</span><br><br>What is the pathname? Which server does this represent: local or remote?<br><br>
# Issue the following sftp command to create a directory on your remote server: <span style="color:blue;font-weight:bold;font-family:courier;">mkdir destination2remote</span><br><br># Issue the following command to confirm that the '''destination2remote''' directory has been created in your remote server's home directory:<br><span style="color:blue;font-weight:bold;font-family:courier;">ls</span><br><br># Issue the following command to change to the '''destination2remote''' directory:<br><span style="color:blue;font-weight:bold;font-family:courier;">cd destination2remote</span><br><br># Issue the '''pwd''' command to confirm that you have changed to the ''destination2remote2'' directory on your remote server.<br><br>
# Issue the following Linux command to transfer your ~/local/thefile.txt file to the ~/remote directory on your remote server:<br><span style="color:blue;font-weight:bold;font-family:courier;">put thefile.txt</span><br><br>
# x<br><br>