Background: The use of FTP to get large files, the phenomenon of suspended animation, do not know whether the file is still transmitted
1, log into the remote FTP server, and enter the user, password
[Email protected] list]# FTP 19.129.81.5
Connected to 19.129.81.5.
(VsFTPd 2.2.2)
530 Login with USER and PASS.
530 Login with USER and PASS.
Kerberos_v4 rejected as an authentication type
Name (19.129.81.5:root): Gov
331 Specify the password.
Password:
Successful Login.
Remote system type is UNIX.
Using binary mode to transfer files.
2, in order to view the progress of download files, especially when downloading larger files, waiting for a long time, do not know whether the network has been disconnected, after viewing, you can use the "Hash"Command
Show the progress of the download, each output a "#" for the BYTES=1KB
Operation is as follows
Ftp> Hash
Hash mark Printing on (1024x768 bytes/hash mark).
3. Download the file
Ftp> Get Gbe_2015_01.txt/home/data/nanhaiwater/list/gbe_2015_01.txt
Local:/home/data/nanhaiwater/list/gbe_2015_01.txt remote:gbe_2015_01.txt
227 Entering Passive Mode (19,129,81,5,23,132)
Opening BINARY mode data connection for Gbe_2015_01.txt (10385000 bytes).
##########################################################################################
4, if the file in the transmission process, there is an interruption, you can use the "reget" command to continue to pass
Ftp> Reget Gbe_2015_01.txt/home/data/nanhaiwater/list/gbe_2015_01.txt
5, of course, can also use "SCP"Command to perform a file download, which can display percentages, size, and download speed, recommended use
The format example is as follows:
SCP [Email Protected]://home/myftp/list/1212.txt/home/data//list/1212.txt
Linux command line display download file progress FTP or SCP