proftpd配置好之后,无法上传

cattycat cattycat 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
就是上传时老说 No such file or directory.

ftp> put faraway.mp3 far.mp3
local: faraway.mp3 remote: far.mp3
227 Entering Passive Mode (127,0,0,1,210,51).
550 far.mp3: No such file or directory

anonymous 的设置如下:

<Anonymous ~ftp>
User ftp
Group ftp

# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp

AnonRequirePassword off #no need password
# Limit the maximum number of anonymous logins
MaxClients 10

# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLogin welcome.msg
DisplayChdir .message

# add this line
RequireValidShell off

# Limit WRITE everywhere in the anonymous chroot
<Limit WRITE DELE>
DenyAll
</Limit>
# allow user upload,change directory,read
# delete,make directory rename not allowed.
<Directory tmp/>
<Limit DELE MKD RMD XMKD XRMD RNFR RNTO >
DenyAll
</Limit>
<Limit STOR CMD XCWD READ>
AllowAll
</Limit>
</Directory>
</Anonymous>
感觉没有问题啊,不知道怎么回事。
帮我解决下。谢谢
...全文
评论 2
收藏 已收藏
分享
返回顶部
cattycat
系统维护与使用区 19,615 成员 74,556 内容