Open main menu

CDOT Wiki β

Changes

Tutorial6: File Transfer / Sending Email Messages

126 bytes added, 11:59, 27 January 2021
Using the sftp Command (Command Line)
# Issue a command (Windows or Linux) to confirm that you are located in the '''local''' directory in your home computer.<br><br>
# If you are in MS Windows, open the <span style="color:blue;font-family:courier;font-weight:bold;">NotePad</span> application to create a text file.<br><br><b>NOTE:</b> if you are using ''Linux'' or ''MacOSx'' on your home computer, then use a text editor like <b>vi</b> or <b>nano</b><br>.
# Enter a few lines of text, and then click on the <b>File</b> menu and select <b>save as</b><br>(save as the filename <bspan style="color:blue;font-weight:bold;font-family:courier;">thefile.txt</bspan> in your <bspan style="color:blue;font-weight:bold;font-family:courier;">local</bspan> directory) and then <b>exit</b> the <i>Notepad</i> text editor.<br><br>If you using another OS, then save-as using the same filename and directory location for the text editor you are using.<br><br>
# If your OS is MS Windows issue the <span style="color:blue;font-family:courier;font-weight:bold;">dir</span> Windows command to view the contents of your current directory<br>(otherwise, issue the <b>ls</b> command for other operating systems).<br><br>
# Issue the following command to move to the parent directory: <span style="color:blue;font-family:courier;font-weight:bold;">cd ..</span><br><br>
13,420
edits