ftp get/push连接到linux时,都是使用的linux命令
2016-06-13 16:21
567 查看
1.push上传
ftp> pwd
257 "/root" is current directory.
连接到linux时,都是使用的linux命令
ftp> cd /gaozhen
250 CWD command successful.
ftp> ls
200 PORT command successful.
150 Opening ASCII mode data connection for file list.
sysrq.txt
man
custom.txt,custom2.txt
mydan
temp1
datfile
myfile
abc.c
dir.out
f1
DispAllVar
.file1.swo
demo
tt
a.out
gao
tt1,tt2
fileo
.myls.swp
a
file.c
tt1
ifile
file1
temp2
direc
gao1
dir2.out
fieli
datafile
t.txt
ofile
custom
temp
zhen.txt
a,b
f2
temp3
226 Transfer complete.
ftp: 收到 298 字节,用时 0.18秒 1.64千字节/秒。
ftp> put E:\new.sql
200 PORT command successful.
150 Opening ASCII mode data connection for new.sql.
226 Transfer complete.
ftp: 发送 824 字节,用时 0.00秒 206.00千字节/秒。
ftp> ls
200 PORT command successful.
150 Opening ASCII mode data connection for file list.
sysrq.txt
man
custom.txt,custom2.txt
mydan
temp1
datfile
myfile
abc.c
dir.out
f1
DispAllVar
.file1.swo
demo
tt
a.out
gao
tt1,tt2
fileo
.myls.swp
a
file.c
tt1
ifile
file1
temp2
direc
gao1
dir2.out
fieli
new.sql
datafile
t.txt
ofile
custom
temp
zhen.txt
a,b
f2
temp3
226 Transfer complete.
ftp: 收到 307 字节,用时 0.12秒 2.67千字节/秒。
2.下载get
在window上设置一个存放下载下来的文件夹。
ftp> lcd G:\
目前的本地目录 G:\。
ftp> get t.txt
200 PORT command successful.
150 Opening ASCII mode data connection for t.txt (32 bytes).
226 Transfer complete.
ftp: 收到 37 字节,用时 0.06秒 0.62千字节/秒。
ftp>
ftp> pwd
257 "/root" is current directory.
连接到linux时,都是使用的linux命令
ftp> cd /gaozhen
250 CWD command successful.
ftp> ls
200 PORT command successful.
150 Opening ASCII mode data connection for file list.
sysrq.txt
man
custom.txt,custom2.txt
mydan
temp1
datfile
myfile
abc.c
dir.out
f1
DispAllVar
.file1.swo
demo
tt
a.out
gao
tt1,tt2
fileo
.myls.swp
a
file.c
tt1
ifile
file1
temp2
direc
gao1
dir2.out
fieli
datafile
t.txt
ofile
custom
temp
zhen.txt
a,b
f2
temp3
226 Transfer complete.
ftp: 收到 298 字节,用时 0.18秒 1.64千字节/秒。
ftp> put E:\new.sql
200 PORT command successful.
150 Opening ASCII mode data connection for new.sql.
226 Transfer complete.
ftp: 发送 824 字节,用时 0.00秒 206.00千字节/秒。
ftp> ls
200 PORT command successful.
150 Opening ASCII mode data connection for file list.
sysrq.txt
man
custom.txt,custom2.txt
mydan
temp1
datfile
myfile
abc.c
dir.out
f1
DispAllVar
.file1.swo
demo
tt
a.out
gao
tt1,tt2
fileo
.myls.swp
a
file.c
tt1
ifile
file1
temp2
direc
gao1
dir2.out
fieli
new.sql
datafile
t.txt
ofile
custom
temp
zhen.txt
a,b
f2
temp3
226 Transfer complete.
ftp: 收到 307 字节,用时 0.12秒 2.67千字节/秒。
2.下载get
在window上设置一个存放下载下来的文件夹。
ftp> lcd G:\
目前的本地目录 G:\。
ftp> get t.txt
200 PORT command successful.
150 Opening ASCII mode data connection for t.txt (32 bytes).
226 Transfer complete.
ftp: 收到 37 字节,用时 0.06秒 0.62千字节/秒。
ftp>
相关文章推荐
- 黑客内核:编写属于你的第一个Linux内核模块
- linux系统如何限制远程登录ip
- 在Linux系统上限制远程登录的IP
- Linux入门:Linux历史介绍
- 查找(whereis locate which find)
- Linux驱动修炼之道-内存映射 mmap()/phys_to_virt()
- Linux下WebSphereV8.5.5.0 安装详细过程
- Linux 下 cat 命令
- LINUX查看系统资源命令
- linux系统如何限制其他用户登录
- rk3188--2.linux-3.0.36中内核参数的读取与传递
- 记录一次linux线上服务器被黑事件
- Linux学习网站推荐
- Linux 的多线程编程的高效开发经验
- linux中ctrl+z和ctrl+c的区别
- sscanf的高级用法
- 第四章:Linux的安装
- linux下lk和kernel层通信方式[2]
- LInux pthread_join理解
- [Linux]I/O多路复用和epoll