If you need to download web pages or files from FTP quickly, you can use wget. It's a great tool to use if you need to get a file onto a server when you do not have a web browser, which is very common.

The wget command is used only to transfer files over HTTP and FTP. It is not to be confused with something like rsync, which is a general network copy system.

In its simplest form, you simply pass the URL you want to download to the wget command (see Listing 15-14). This downloads the URL specified to the local directory.

Was this article helpful?

0 0

Post a comment