linux ftp 命令使用教程,Linux系统通过命令使用FTP的方法

Linux系统下使用FTP,连接FTP服务器、上传文件、下载文件都是通过命令来完成的,下面就来介绍一下Linux系统通过命令使用FTP的方法。

9dd95cb5d581df730002dc3103071a52.png

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.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值