Changes

Jump to: navigation, search

Tutorial6: File Transfer / Sending Email Messages

1,214 bytes removed, 09:00, 6 February 2021
Secure File Transmission Control Protocol (sftp)
'''<span style="font-family:courier">sftp username@hostname</span>'''
When you login via the sftp command, the '''sftp prompt''' appears. The ftp prompt is like a Bash shell prompt, but with a limited number of commands.When issuing sftp commands,<br>the local server relates to the server where you first issued the sftp command.
Below is a table that provide '''basic sftp commands''' Refer to perform file transfer the diagram on the right for local and management commands.<br>Some of those commands loosely resemble Unix/Linux remote sftp commands.<br>Commands for the local computer has a '''lowercase l''' (not a number) for the command.
<table border="1" cellspacing="0" cellpadding="5"><tr style="text-align:center;"><th>Operation</th><td>'''sftp Command'''<br>(Local Server)</td><td>'''sftp Command'''<br>(Remote Server)</td></tr><tr><td>Display current working directory</td><th><span style="font-family:courier">lpwd</span></th><th><span style="font-family:courier">pwd</span></th></tr><tr><td>Display directory contents</td><th><span style="font-family:courier">lls</span></th><th><span style="font-family:courier">ls</span></th></tr><tr><td>Create Directory</td><th><span style="font-family:courier">lmkdir</span></th><th><span style="font-family:courier">mkdir</span></th></tr><tr><td>Change directory location</td><th><span style="font-family:courier">lcd</span></th><th><span style="font-family:courier">cd</span></th></tr><tr><td>Upload file to remote server</td><th><span style="font-family:courier">put</span></th><th>-</th></tr><tr><td>Download file to local server</td><th><span style="font-family:courier">get</span></th><th>-</th></tr></table>
[[Image:graphical-sftp-application.png|thumb|right|250px|'''Graphical''' SFTP application.]]
<br><br>
13,420
edits

Navigation menu