proftpd配置好之后,无法上传
就是上传时老说 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>
感觉没有问题啊,不知道怎么回事。
帮我解决下。谢谢