13,420
edits
Changes
→Using sftp from Command Line Terminal of OS
# Issue the following ''sftp command'' to change to the '''local2''' directory on your local server:<br><span style="color:blue;font-weight:bold;font-family:courier;">lcd local2</span><br><br>
# Issue the '''lpwd''' ''sftp command'' to confirm you have changed to the ''local2'' directory on your local server.<br><br>Let's learn to <u>download</u> a file from your remote server to your local server.<br><br>
# Issue the following '''sftp command''' to transfer your '''thefile.txt''' file from the '''remote2''' directory <br>on your remote server to your local computer:<br><span style="color:blue;font-weight:bold;font-family:courier;">get thefile.txt</span><br><br>
# Issue the '''lls''' '''sftp command''' to confirm that you transferred/copied the file: thefile.txt on your local server.<br><br>
# Issue the following ''sftp command'' to exit the sftp utlilty: <span style="color:blue;font-weight:bold;font-family:courier;">exit</span><br><br>