red hat 两台Linux服务器间文件传输

来源:互联网 发布:网上开个淘宝店流程图 编辑:程序博客网 时间:2024/05/09 02:45

一、使用方法:tp服务传输

二、使用步骤(目标服务器为10.0.0.1,文件服务器为10.0.0.2):

1、需要将文件服务器上文件传到目标服务器上

2、在目标服务器(10.0.0.1)上打开ftp服务,使用命令为:service vsftpd start/stop/restart/status(启动/停止/重启/状态)

3、文件服务器操作代码为(CLOUDINVESTWeb20160107.zip为文件):

[root@localhost app]# ftp 10.0.0.1

Connected to 10.0.0.1.

220 (vsFTPd 2.0.5)

530 Please login with USER and PASS.

530 Please login with USER and PASS.

KERBEROS_V4 rejected as an authentication type

Name (10.0.0.1:root): root

331 Please specify the password.

Password:

230 Login successful.

Remote system type is UNIX.

Using binary mode to transfer files.

ftp> bin

200 Switching to Binary mode.

ftp> pwd

257 "/root"

ftp> put CLOUDINVESTWeb20160107.zip

local: CLOUDINVESTWeb20160107.zip remote: CLOUDINVESTWeb20160107.zip

227 Entering Passive Mode (10,0,70,147,91,122)

150 Ok to send data.

226 File receive OK.

43851850 bytes sent in 0.35 seconds (1.2e+05 Kbytes/s)

ftp> bye                              

221 Goodbye.


0 0
原创粉丝点击