2012-04-29 669 views
6

我有兩個連接到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

回答

1

客戶端A的權限被設置爲使得他們拒絕您的用戶在該處寫入文件的權限。

與他們聯繫以確保Windows中的文件權限設置爲使FTP用戶可以寫入。

+2

我很困惑。客戶端的Windows操作系統上有設置阻止他將文件寫入任何FTP位置?在IIS上託管FTP的服務器有一個用戶名/密碼,客戶端A和B都使用該用戶名/密碼。 – justadjusting 2012-04-29 04:13:10

-1

如果他們使用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

2

它可能是防火牆從客戶端A,這是防止這種情況。 FTP還需要一個數據通道來發送它的信息