Linux体系高运用FTP,连贯FTP效劳器、上传文件、高载文件皆是经由过程号令去完成的,上面便去引见一高Linux体系经由过程号令运用FTP的要领。
ftp号令运用Sample
-bash-3.00$ ftp rws60001rems.us.oracle.com(连贯别的一台主机)
Connected to rws60001rems.us.oracle.com (139.185.21.141)。
220 (vsFTPd 1.2.1)
Name (rws60001rems.us.oracle.com:app7740): xxxxx
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp》 ls
227 Entering Passive Mode (139,185,21,141,216,189)
150 Here comes the directory listing.
-rw-r--r-- 1 60202384 60402384 524 Aug 08 00:37 temp1.out
226 Directory send OK.
ftp》 pwd(ftp号令高也能够执止通俗的linux号令,pwd,ls,cd…)
257 “/slot/ems2384/appmgr”
ftp》 ls temp1*
227 Entering Passive Mode (139,185,21,141,178,113)
150 Here comes the directory listing.
-rw-r--r-- 1 60202384 60402384 524 Aug 08 00:37 temp1.out
226 Directory send OK.
ftp》 get temp1.out(从另外一台主机往当地高载文件)
local: temp1.out remote: temp1.out
227 Entering Passive Mode (139,185,21,141,126,148)
150 Opening BINARY mode data connection for temp1.out (524 bytes)。
226 File send OK.
524 bytes received in 0.0017 secs (3e 02 Kbytes/sec)
ftp》 put INVLTENT.plx_bk(从原机往别的一台主机上传文件)
local: INVLTENT.plx_bk remote: INVLTENT.plx_bk
227 Entering Passive Mode (139,185,21,141,109,145)
150 FILE: INVLTENT.plx_bk.1
226 File receive OK.
331776 bytes sent in 0.00457 secs (7.1e 04 Kbytes/sec)
ftp》 bye(退没)
221 Goodbye.
相关文章