LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 786|回复: 1

终端下登录到远程FTP主机下载文件是下载到哪个目录里了?

[复制链接]
发表于 2004-7-14 12:27:44 | 显示全部楼层 |阅读模式
[root@localhost pub]# ftp 218.27.74.112
Connected to 218.27.74.112.
220 (vsFTPd 1.2.0)
530 Please login with USER and PASS.
530 Please login with USER and PASS.
KERBEROS_V4 rejected as an authentication type
Name (218.27.74.112:root): ftp
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> cd pub
250 Directory successfully changed.
ftp> ls
227 Entering Passive Mode (218,27,74,112,195,98)
150 Here comes the directory listing.
-rwxrwxrwx    1 0        0           53248 Jun 23 04:22 webmin-1.130-1.noarch.rpm
226 Directory send OK.
ftp> mget w*
mget webmin-1.130-1.noarch.rpm? y
227 Entering Passive Mode (218,27,74,112,153,101)
150 Opening BINARY mode data connection for webmin-1.130-1.noarch.rpm (53248 bytes).
226 File send OK.
53248 bytes received in 0.016 seconds (3.2e+03 Kbytes/s)
ftp> !ls
webmin-1.130-1.noarch.rpm
ftp>
//上面是我的操作过程,不过我不知道在本地什么位置可以找到我下载的文件啊?
发表于 2004-7-14 13:51:41 | 显示全部楼层
用lcd命令看看当前的本地目录,下载的文件就放在里面,还可以用lcd改变当前目录
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表