Reproduced
This article mainly describes how to use the powerful FTP client software ncftp under Ubuntu 8.10.
Ubuntu source provides us with the FTP client software ncftp, but this tool is not very convenient for beginners. This article describes a widely used FTP command line client software ncftp, which provides more convenient, fast, powerful features, so that we use the FTP service more handy. NcFTP is widely used in various versions of Linux, currently available in Ubuntu 8.10 Source NcFTP version is 3.2.1.
First of all, the installation method, you can install the source code, you can also directly enter the command installation.
First introduce the command installation, open the terminal, enter the code (see Figure 1): sudo apt-get install ncftp
Figure 1
The NCFTP was soon installed.
NcFTP compared with the traditional FTP, there are mainly the following improvements or changes: 1, sub-directory download, using recursive method, download the entire directory and its subdirectories. 2. Support for continuous transmission of breakpoints. Once the transfer is not complete, the next time you can transfer the unfinished file. 3, anonymous FTP automatic login. Currently, most FTP sites can log on anonymously, and ncftp can log on automatically (by default). 4, support through the firewall transport and proxy server. 5, support the bookmark function, you can bookmark a location to facilitate the direct jump later. 6. The download progress can be displayed. 7, display the transmission rate. 8, the file list automatically full page pause. When the LS file list exceeds one screen, NcFTP automatically pauses, waiting for any key to continue. 9, the default is to transfer data in binary mode. 10, support file name automatic completion. For example, the server has file download.list, you just enter get Down<tab>, the system can automatically populate the file name is download.list. 11, automatic memory of the site when the left of the directory, the next login will automatically enter that directory.
Let's talk about how to use ncftp:
Figure 2
(see Figure 2) using Ncftp-u LINUXIDC 192.168.1.30 will log on to the host 192.168.1.30, you will be asked to enter the root password. See Figure 2 in the first box and the second box, the password is correct will be connected.
After ncftp/> enter LLS, list the local directory as shown in the third box in Figure 2.
After ncftp/> enter pls, list the file directory on the FTP server, see box fourth in Figure 2.
What is the command to download the files on the FTP server?
First go to the file directory, just use LLS list directory, with cd command to enter the Linuxidc-1 folder (see Figure 3)
Do you want to see the files in linuxidc-1 now? Use the LS command (see Figure 4).
Figure 4
Now let's download a file with the Get command (see Figure 5).
Figure 5
See if the file is downloaded, and in your home directory, mine is in the LINUXIDC directory (see Figure 6).
This article is from the Linux commune website (www.linuxidc.com) Source Link: http://www.linuxidc.com/Linux/2008-12/17715.htm
Ubuntu command line using FTP client