免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 878 | 回复: 5
打印 上一主题 下一主题

请教高手,如何设置 ftp的下载目录 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-08-29 08:44 |只看该作者 |倒序浏览
如题
---------
小小菜鸟

论坛徽章:
0
2 [报告]
发表于 2006-08-29 08:46 |只看该作者
ftp ftp.xxx.com
usernamexxx
passowrd ****
>lcd /temp

下载/temp中。

论坛徽章:
0
3 [报告]
发表于 2006-08-29 08:50 |只看该作者

还是看不到下载目录阿,帮忙!!!

ftp> lcd /pub
local: /pub: No such file or directory
ftp> lcd /var/ftp/pub
Local directory now /var/ftp/pub
ftp> ls
227 Entering Passive Mode (192,101,1,253,113,4)
150 Here comes the directory listing.
226 Directory send OK.
ftp> ls
227 Entering Passive Mode (192,101,1,253,36,15)
150 Here comes the directory listing.
226 Directory send OK.
ftp>

论坛徽章:
0
4 [报告]
发表于 2006-08-29 08:55 |只看该作者
我被你搞糊途了。你是要设你从别的服务器上下载到本地什么目录呢?还是要设置你自已的服务器上的下载目录?如果是后者,你用什么做服务器?配置文件贴来看看?

论坛徽章:
0
5 [报告]
发表于 2006-08-29 08:58 |只看该作者
是后者,是我 说的不清楚,对不起!!
/etc/vsftpd/vsftpd.conf

#deny_email_enable=YES
# (default follows)
#banned_email_file=/etc/vsftpd.banned_emails
#
# You may specify an explicit list of local users to chroot() to their home
# directory. If chroot_local_user is YES, then this list becomes a list of
# users to NOT chroot().
#chroot_list_enable=YES
# (default follows)
#chroot_list_file=/etc/vsftpd.chroot_list
#
# You may activate the "-R" option to the builtin ls. This is disabled by
# default to avoid remote users being able to cause excessive I/O on large
# sites. However, some broken FTP clients such as "ncftp" and "mirror" assume
# the presence of the "-R" option, so there is a strong case for enabling it.
#ls_recurse_enable=YES
                                                                                
pam_service_name=vsftpd
userlist_enable=YES
userlist_deny=NO
#enable for standalone mode
listen=YES
tcp_wrappers=YES
-- 插入 --                                                    102,1        底端

论坛徽章:
0
6 [报告]
发表于 2006-08-29 09:37 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP