2015-08-08 155 views
-3

在我從今天起用於上傳項目網站內容的filezilla中,它顯示你不能刪除這個目錄。但事情是昨天只有我上傳正確,網站也正常工作。從今天它不正確顯示,如果我試圖刪除該bin文件夾,並上傳新的它顯示錯誤550權限被拒絕。我也試圖改變該文件的權限爲777刪除並重命名此目錄中的此dll文件但未使用。無法刪除Filezilla中的bin目錄

這是錯誤列表:

Directory listing successful 

Command: DELE C1.Web.UI.Controls.3.dll 
Response: 550 /bin_no/C1.Web.UI.Controls.3.dll: Permission denied. 

Command: DELE C1.Web.UI.3.dll 
Response: 550 /bin_no/C1.Web.UI.3.dll: Permission denied. 

Command: DELE App_Web_u5crbnjm.dll 
Response: 550 /bin_no/App_Web_u5crbnjm.dll: Permission denied. 

Command: DELE App_Web_qxfqrmxk.dll 
Response: 550 /bin_no/App_Web_qxfqrmxk.dll: Permission denied. 

Command: DELE App_Web_li5d1wds.dll 
Response: 550 /bin_no/App_Web_li5d1wds.dll: Permission denied. 

Command: DELE App_Web_e0gqgzvi.dll 
Response: 550 /bin_no/App_Web_e0gqgzvi.dll: Permission denied. 

Command: DELE App_Web_coj1jirv.dll 
Response: 550 /bin_no/App_Web_coj1jirv.dll: Permission denied. 

Command: DELE App_Web_00hzknjy.dll 
Response: 550 /bin_no/App_Web_00hzknjy.dll: Permission denied. 

Command: DELE App_Licenses.dll 
Response: 550 /bin_no/App_Licenses.dll: Permission denied. 

Command: CWD/
Response: 250 Directory changed to /? 

Command: RMD bin_no 
Response: 550 /bin_no: Cannot delete directory.** 

而且,現在我甚至可以上傳新的bin目錄。

幫我解決這個問題。

+2

你知道嗎,這是一個編程QA網站,對不對?你的問題是否與編程有關? (在C#和NET?) – Steve

回答

0

您可能正在訪問託管在Windows上的FTP服務器。在Windows上,與Unix不同,正在使用的文件不能被刪除。所以如果運行你的網站的應用程序加載了這些DLL文件,你首先需要將它卸載。

FileZilla發出一個DELE,FTP服務器將其轉換爲操作系統的某種unlink命令。操作系統拒絕刪除該文件,因爲它仍然被加載。這不是FileZilla的錯誤,也不是FTP服務器的錯誤。

+0

現在要做這個。我試着再次上傳? – user5204800

+0

另一件事是現在我無法上傳新的bin目錄... – user5204800

+0

@ user5204800我的猜測是關閉了Web應用程序。如果這不起作用,請重新啓動服務器,但確保Web應用程序未啓動。然後您可以替換/刪除文件並再次啓動Web應用程序。 – Shi