Open main menu

CDOT Wiki β

Changes

Tutorial6: File Transfer / Sending Email Messages

4 bytes removed, 07:27, 24 January 2021
Using sftp from Command Line Terminal of OS
# Issue the following ''sftp command'' to transfer the file called '''thefile.txt''' to the '''~/remote2''' directory on your remote server:<br><span style="color:blue;font-weight:bold;font-family:courier;">put thefile.txt</span><br><br>
# Issue the '''ls''' sftp command to confirmed that you transferred/copied the file: '''thefile.txt'''<br><br>Let's create another directory on your local server called '''local2''' so we can learn to <u>download</u> a file from your remote directory.<br><br>
# Issue the following ''sftp command'' (without an argument) to change to your '''home''' the parent directory:<br><span style="color:blue;font-weight:bold;font-family:courier;">lcd ~..</span><br><br>
# Issue the '''!pwd''' ''sftp command'' to confirm that your current working directory on your local server is your home directory.<br><Br>
# Issue the following ''sftp command'' to create the following directory on your local server:<br><span style="color:blue;font-weight:bold;font-family:courier;">!mkdir local2</span><br><br>
13,420
edits