2020-10-15 linux下ftp命令行的使用

这篇博客介绍了如何在Linux系统中通过命令行使用FTP连接到远程服务器,包括登录、切换目录、创建目录、列出文件及上传文件等基本操作。用户成功连接到192.168.1.1的FTP服务器,并执行了如ls、cd、mkdir、put等命令,实现了文件的传输。
摘要由CSDN通过智能技术生成

[love@localhost x86_64-linux]$ ftp 192.168.1.1

Connected to 192.168.1.1 (192.168.1.1).

220 (vsFTPd 3.0.2)

Name (192.168.1.1:love): love

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 (192,168,1,1,82,113).

150 Here comes the directory listing.

drwxr-xr-x 5 ftp ftp 4096 Oct 09 02:19 packages

drwxr-xr-x 2 ftp ftp 4096 Sep 24 04:12 tools

226 Directory send OK.

ftp> cd packages

250 Directory successfully changed.

ftp> mkdir 20201012

257 "/packages/20201012" created

ftp> cd 20201012

250 Directory successfully changed.

ftp> ls

227 Ent

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值