linux ftp下载文件

1:登录
[root@pc_name]#ftp 192.168.128.100
2:获得一个文件
ftp> get file_name
3:一次获得多个文件
ftp> mget *.c
4:切换目录
ftp> cd directory_name
5:退出登录
ftp> bye
三:设置ftp模式,使得用mget时不需要交互
ftp> prompt
Interactive mode off.
ftp> mget *.c
. o O 0

猜你喜欢

转载自ydlmlh.iteye.com/blog/1570196