Once you know the URL of the file to download, you can use the wget command from within the Emacs shell to retrieve the file. If you do not know the URL of the file to download, use the W3 application to browse the web and find the URL of the file (refer to Browsing the Internet for information on using the W3 application). Then use the command wget to download it. For more information on the wget command, refer to the wget man page.
To download a file:
From inside Emacs, type M-x shell to start the shell.
Since the wget command places the downloaded file into your current directory, change directories to the desired directory.
When you are in the appropriate directory, type wget [url], then press Enter. Remember that you can copy and paste the URL of the file to download from the W3 web browser application.
As the file is being downloaded, one dot appears on the screen for each kilobyte of data received. The wget command lets you know when the download is complete.
Another option for downloading (or uploading) a file is via FTP. Refer to FTPing a file for more information.
There are several ways you can find a file. This section discusses two options.
Result: You will be prompted for the name of the file in the default working directory.
Type the name of the file (or use wildcards) you wish to find.
For more information on using the directory editor, refer to Using the directory editor. For a complete listing of dired's features and capabilities, refer to http://www.delorie.com/gnu/docs/emacs/emacs_360.html.
To invoke the FTP application:
Alternatively, you can start an Emacs shell using M-x shell and use FTP from the command line. There is a short tutorial on using the command line FTP at Focus on Unix.
You can find more information on any of these commands (most can be run with various options that allow for more user control) by looking them up in the online man pages. Since the list presented here covers only the most basic commands, you may want to consult the Linux user's guide, available at http://www.ibiblio.org/pub/Linux/docs/linux-doc-project/users-guide/, for more information.
In Emacs, type M-x dired. You will be prompted for the directory to open.
Type in the directory to display, or press Return to open the default directory.
Because dired is so extensive, including the full documentation for it here is not feasible. However, complete instructions can be found in the GNU Emacs Manual at http://www.delorie.com/gnu/docs/emacs/emacs_360.html.