FTP“550访问被拒绝”错误

问题描述:

我有两个连接到FTP(配置为IIS的一部分)的客户端,但客户端可以成功连接到FTP,但客户端A收到“550访问被拒绝,错误:关键文件传输错误“,当客户端B可以成功上载文件时尝试上传文件。他们都在Windows环境中使用Filezilla。FTP“550访问被拒绝”错误

客户端A输出

Status:      Resolving address of 000.000.000.00 
Status:      Connecting to 000.000.000.00:21... 
Status:      Connection established, waiting for welcome message... 
Response:     220 Microsoft FTP Service 
Command:      USER wg\transfer 
Response:     331 Password required for wg\transfer. 
Command:      PASS ********* 
Response:     230 User wg\transfer logged in. 
Status:      Connected 
Status:      Starting upload of C:\upload.zip 
Command:      CWD/
Response:     250 CWD command successful. 
Command:      TYPE I 
Response:     200 Type set to I. 
Command:      PASV 
Response:     227 Entering Passive Mode (000,000,000,00,22,96). 
Command:      STOR upload.zip 
Response:     550 Access is denied. 
Error:      Critical file transfer error 

客户端B输出

Status:      Resolving address of 000.000.000.00 
Status:      Connecting to 000.000.000.00:21... 
Status:      Connection established, waiting for welcome message... 
Response:     220 Microsoft FTP Service 
Command:      USER wg\transfer 
Response:     331 Password required for wg\transfer. 
Command:      PASS ********* 
Response:     230 User wg\transfer logged in. 
Status:      Connected 
Status:      Starting upload of C:\upload.zip 
Command:      CWD/
Response:     250 CWD command successful. 
Command:      PWD 
Response:     257 "/" is current directory. 
Command:      TYPE I 
Response:     200 Type set to I. 
Command:      PASV 
Response:     227 Entering Passive Mode (000,000,000,00,22,99). 
Command:      STOR upload.zip 
Response:     125 Data connection already open; Transfer starting. 
Response:     226 Transfer complete 
Status:      File transfer successful, transferred 22,197 bytes in 7 seconds 
Status:      Retrieving directory listing... 
Command:      PASV 
Response:     227 Entering Passive Mode (000,000,000,00,22,100). 
Command:      LIST 
Response:     125 Data connection already open; Transfer starting. 
Response:     226 Transfer complete 

任何人都可以揭示出这个任意光?我想客户端A有一些防火墙设置,防止他们上传文件,但这似乎很奇怪。

在此先感谢!

+0

如何找到FTP客户端的另一个实现并查看它是否可以同时工作? – 2012-04-29 04:45:10

客户端A的权限被设置为使得他们拒绝您的用户在该处写入文件的权限。

与他们联系以确保Windows中的文件权限设置为使FTP用户可以写入。

+2

我很困惑。客户端的Windows操作系统上有设置阻止他将文件写入任何FTP位置?在IIS上托管FTP的服务器有一个用户名/密码,客户端A和B都使用该用户名/密码。 – justadjusting 2012-04-29 04:13:10

如果他们使用FTP客户端进行连接,请确保他们通过SFTP进行连接。

+2

这是一个不是SFTP的FTP协议。 – justadjusting 2012-04-29 04:12:16

+0

在我的情况下,我有一个FTP帐户,我正在使用FileZilla进行连接。当我使用FTP选项时,我有一个权限被拒绝的错误。我使用SFTP选项使用相同的帐户,然后问题消失了。值得一试。 http://filezilla-project.org/download.php?type=client – Bob 2012-04-29 04:42:08

它可能是防火墙从客户端A,这是防止这种情况。 FTP还需要一个数据通道来发送它的信息