Learn to automate the transfer of files at the Linux command line.
Linux ftp command summary with examples (3:29)
Videos can also be accessed from the YouTube Playlist.
Our eighty-fourth word, or command to memorize is
ftp from our category
ftp allows you to automate the
transfer of files.
Recall from the last two videos, we covered data transfer from the
command line, and a new concept called Protocols and now we'll log in to a
remote system using the
Before we start, it helps to think of commands as mini programs and
most follow this structure:
command -option(s) argument(s).
ftp command has
9 options, and the argument is the hostname, entered
like you would an http:// address in your browser, but
here use ftp:// and the hostname and optionally a
Unlike most commands, help is not available with double-dash
-v option enters verbose mode showing
So why is
ftp an important command?
Well, most people access data sets through their browser manually but
ftp Protocol is a good way to
And now you know how to do that.
Okay, the best way to embed this in your memory is by typing in your own terminal window.
Find this on your Mac using a program called Terminal. On Linux use Terminal or Konsole, and currently Microsoft is adding this functionality to Windows.
Here we go. We'll log in to a public US Library of Congress ftp server. The ftp Protocol predates http I mentioned earlier, which you use in your web browser. And some servers let you log in anonymously with no password, and that's what we're doing here.
And here, if this was a private system you could enter one of about
75 different commands, but many won't work because of security
concerns, so I'll just show you a
pub directory, to change
And last, before we end up on a government watch list, let's type
bye to close the ftp
Okay now you know how to use
And you know the syntax for commands, options and arguments.
One last tip about the
command. So over time the
been replaced by more secure options:
sftp. Here, I simply wanted you to
ftp and I'll introduce other tools
Okay, thanks for visiting today. I hope this was a helpful
introduction to the
For an overview of the 100 videos, the 8 quizzes, a cheat sheet, the categories and a Q&A section, visit:
If you support our effort to bring you free content with non-invasive advertising, please support us by subscribing to our YouTube Channel here. Thank you.
traceroutecommand, hit Back.
wget. Click Next.