Linux ftp訪問__Linux

來源:互聯網
上載者:User

安裝:

yum -y install ftp

基本命令:

refer to:http://man.linuxde.net/ftp


執行個體:

[root@nh-cdh-24 setuptools-1.4.2]# ftp 172.28.4.200

Connected to 172.28.4.200 (172.28.4.200).

220 Welcome to blah FTP service.

Name (172.28.4.200:root): ops_user

331 Please specify the password.

Password:

230 Login successful.

Remote system type is UNIX.

Using binary mode to transfer files.

ftp> cd bond

250 Directory successfully changed.

ftp> cd guohai

250 Directory successfully changed.

ftp> dir

227 Entering Passive Mode(172,28,4,200,24,204).

150 Here comes the directory listing.

-rw-r--r--    1503      504      154107518Jan 26 09:47 deploy_package.tar.bz2

-rw-r--r--    1503      504      336204908Jan 26 09:51 sql_data.tar.bz2

226 Directory send OK.

ftp> mget *

mget deploy_package.tar.bz2? y

227 Entering Passive Mode(172,28,4,200,26,41).

150 Opening BINARY mode data connection fordeploy_package.tar.bz2 (154107518 bytes).

226 Transfer complete.

154107518 bytes received in 3.95 secs(38978.36 Kbytes/sec)

mget sql_data.tar.bz2? y

227 Entering Passive Mode(172,28,4,200,24,68).

150 Opening BINARY mode data connection forsql_data.tar.bz2 (336204908 bytes).

226 Transfer complete.

336204908 bytes received in 7.53 secs(44647.06 Kbytes/sec)

ftp> by

221 Goodbye.

[root@nh-cdh-24 setuptools-1.4.2]# ll

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.