windows FTP 权限被拒绝错误
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1836366/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
FTP permission denied error
提问by salvationishere
I am trying to FTP a RAR (zipped) file to another server but am having problems doing so. This is a Windows environment. I know that my FTP connection is setup correctly because I have already transferred over several other RARs. But the difference from what I can tell is that this RAR that is failing is larger in size. It is 761 MB. So when I try to "put" it into the other server, I get the following:
我正在尝试将 RAR(压缩)文件通过 FTP 传输到另一台服务器,但这样做时遇到问题。这是一个 Windows 环境。我知道我的 FTP 连接设置正确,因为我已经通过其他几个 RAR 进行了传输。但与我所知道的不同的是,这个失败的 RAR 的大小更大。它是 761 MB。因此,当我尝试将其“放入”另一台服务器时,我得到以下信息:
200 PORT command successful.
150 Opening BINARY mode data connection for WCU.rar.
> WCU.rar:Permission denied
226 Transfer complete.
However, the file is never transferred over. Is there a size limitation? And FYI, WCU.rar is a zipped directory, not a file. But I was able to successfully FTP over several other zipped directories.
但是,该文件永远不会转移。有大小限制吗?仅供参考,WCU.rar 是压缩目录,而不是文件。但是我能够通过其他几个压缩目录成功地进行 FTP。
回答by VP.
it can be size limitation, not just stored data but as well transfered data.
did you try to transfer a small file? a small file in the same format? I would say, permissions, but you said that you uploaded already files to this server.
它可能是大小限制,不仅是存储的数据,还有传输的数据。
您是否尝试传输小文件?相同格式的小文件?我会说,权限,但您说您已将文件上传到此服务器。
just to help you debug, you can add both commands to your ftp session
只是为了帮助您调试,您可以将这两个命令添加到您的 ftp 会话中
ftp> hash
ftp> bin
ftp> 哈希
ftp> bin
回答by McAden
WCU.rar:Permission denied
You don't have permission to write to that directory. You need write permissions on the folder in order to do so.
您无权写入该目录。您需要对该文件夹的写权限才能这样做。