Windows

windows server 2008 r2 ftp setup help + filezilla server

  • December 15, 2010

嘿,我已經關注這個頁面到“T”:http ://learn.iis.net/page.aspx/321/configure-ftp-with-iis-7-manager-authentication/

在設置 FTP 伺服器時。我還通過 svchost 授予了該權限來完成防火牆的工作。

我使用命令提示符來測試 ftp,我總是得到

ftp>

它從來沒有要求我輸入使用者名或密碼。

當我在瀏覽器中輸入這個:

ftp.myservernamehere.com:30001

它提示我輸入使用者名和密碼,我輸入我在上述步驟中添加的內容,但它永遠不會讓我登錄!!!!一直問使用者名和密碼!!!

我到底做錯了什麼?!?!?

大衛

執行 IIS7 FTP 時

   [R] Connecting to ftp.domain.com -> DNS=ftp.domain.com IP=**.***.***.*** PORT=30001
[R] Connected to ftp.domain.com
[R] 220 Microsoft FTP Service
[R] USER theuser
[R] 331 Password required for theuser
[R] PASS (hidden)
[R] 230 User logged in.
[R] SYST
[R] 215 Windows_NT
[R] FEAT
[R] 211-Extended features supported:
[R]  LANG EN*
[R]  UTF8
[R]  AUTH TLS;TLS-C;SSL;TLS-P;
[R]  PBSZ
[R]  PROT C;P;
[R]  CCC
[R]  HOST
[R]  SIZE
[R]  MDTM
[R]  REST STREAM
[R] 211 END
[R] CWD /
[R] 250 CWD command successful.
[R] PWD
[R] 257 "/" is current directory.
[R] TYPE A
[R] 200 Type set to A.
[R] PASV
[R] 227 Entering Passive Mode (192,168,1,20,192,246).
[R] Opening data connection IP: **.***.***.*** PORT: 49398
[R] Data Socket Error: Connection refused
[R] List Error
[R] PASV
[R] 227 Entering Passive Mode (192,168,1,20,192,247).
[R] Opening data connection IP: **.***.***.*** PORT: 49399
[R] Data Socket Error: Connection refused
[R] List Error

執行 Filezilla 伺服器日誌時

Creating listen socket on port 30001...
Server online
(000027)12/15/2010 9:33:08 AM - (not logged in) (**.***.***.***)> Connected, sending welcome message...
(000027)12/15/2010 9:33:08 AM - (not logged in) (**.***.***.***)> 220-FileZilla Server version 0.9.37 beta
(000027)12/15/2010 9:33:08 AM - (not logged in) (**.***.***.***)> 220-written by Tim Kosse (Tim.Kosse@gmx.de)
(000027)12/15/2010 9:33:08 AM - (not logged in) (**.***.***.***)> 220 Please visit http://sourceforge.net/projects/filezilla/
(000027)12/15/2010 9:33:08 AM - (not logged in) (**.***.***.***)> USER userhere
(000027)12/15/2010 9:33:08 AM - (not logged in) (**.***.***.***)> 331 Password required for userhere
(000027)12/15/2010 9:33:08 AM - (not logged in) (**.***.***.***)> PASS *******
(000027)12/15/2010 9:33:08 AM - userhere (**.***.***.***)> 230 Logged on
(000027)12/15/2010 9:33:08 AM - userhere (**.***.***.***)> SYST
(000027)12/15/2010 9:33:08 AM - userhere (**.***.***.***)> 215 UNIX emulated by FileZilla
(000027)12/15/2010 9:33:08 AM - userhere (**.***.***.***)> FEAT
(000027)12/15/2010 9:33:08 AM - userhere (**.***.***.***)> 211-Features:
(000027)12/15/2010 9:33:08 AM - userhere (**.***.***.***)>  MDTM
(000027)12/15/2010 9:33:08 AM - userhere (**.***.***.***)>  REST STREAM
(000027)12/15/2010 9:33:08 AM - userhere (**.***.***.***)>  SIZE
(000027)12/15/2010 9:33:08 AM - userhere (**.***.***.***)>  MLST type*;size*;modify*;
(000027)12/15/2010 9:33:08 AM - userhere (**.***.***.***)>  MLSD
(000027)12/15/2010 9:33:08 AM - userhere (**.***.***.***)>  UTF8
(000027)12/15/2010 9:33:08 AM - userhere (**.***.***.***)>  CLNT
(000027)12/15/2010 9:33:08 AM - userhere (**.***.***.***)>  MFMT
(000027)12/15/2010 9:33:08 AM - userhere (**.***.***.***)> 211 End
(000027)12/15/2010 9:33:08 AM - userhere (**.***.***.***)> CLNT FlashFXP 3.0.1044
(000027)12/15/2010 9:33:08 AM - userhere (**.***.***.***)> 200 Don't care
(000027)12/15/2010 9:33:08 AM - userhere (**.***.***.***)> CWD /
(000027)12/15/2010 9:33:08 AM - userhere (**.***.***.***)> 250 CWD successful. "/" is current directory.
(000027)12/15/2010 9:33:08 AM - userhere (**.***.***.***)> PWD
(000027)12/15/2010 9:33:08 AM - userhere (**.***.***.***)> 257 "/" is current directory.
(000027)12/15/2010 9:33:08 AM - userhere (**.***.***.***)> TYPE A
(000027)12/15/2010 9:33:08 AM - userhere (**.***.***.***)> 200 Type set to A
(000026)12/15/2010 9:19:37 AM - userhere (**.***.***.***)> PORT 192,168,1,7,4,166
(000026)12/15/2010 9:19:37 AM - userhere (**.***.***.***)> 200 Port command successful
(000026)12/15/2010 9:19:37 AM - userhere (**.***.***.***)> LIST -al
(000026)12/15/2010 9:19:37 AM - userhere (**.***.***.***)> 150 Opening data channel for directory list.
(000026)12/15/2010 9:19:38 AM - userhere (**.***.***.***)> 425 Can't open data connection.
(000026)12/15/2010 9:19:45 AM - userhere (**.***.***.***)> TYPE I
(000026)12/15/2010 9:19:45 AM - userhere (**.***.***.***)> 200 Type set to I
(000026)12/15/2010 9:19:45 AM - userhere (**.***.***.***)> SIZE GS108T-V3.0.4.10.hex
(000026)12/15/2010 9:19:45 AM - userhere (**.***.***.***)> 550 File not found

首先,我建議您停止使用命令提示符,當然也停止使用 Internet Explorer 連接到 FTP。改用一個像樣的 FTP 程序,比如 FileZilla,它會向您顯示您收到的伺服器響應,您可以使用這些響應來解決您的登錄問題。

至於寂寞ftp>,如果您啟動命令提示符並鍵入ftp,您只會得到一個ftp>提示符。open ftp.domain.com在系統要求您使用使用者名或密碼登錄之前,您需要在此提示下輸入(除非您ftp ftp.domain.com在第一個實例中輸入!)

所以,有兩個選擇:

C:\Users\User>ftp

ftp>open ftp.domain.com:30001

或者

C:\Users\User>ftp ftp.domain.com:30001

我有一個在 Windows Server 2008 R2 上執行 IIS 管理器使用者的 FTP,所以如果您需要進一步的資訊,請告訴我。

引用自:https://serverfault.com/questions/212792