Setup IIS build-in FTP 設定IIS預設FTP

I am using 5.0 as an example. I setup FTP in server 2008 using IIS 7.0 too. There is not much difference.
First of all, I assume you have experience setting up FTP, using Filezilla server maybe. You have to setup basic settings like connection, port, etc. And then you add user/group’s access rights.
In FTP of IIS, it is a little difference. It use system accounts. So you have to turn on the FTP publish service and run the FTP. Go to control panel, add accounts for FTP users. You can then add virtual directory in the FTP station. You also need to go to that actual directory to do appropiate setting to the directory user rights. Then you also have to setup read/write permission in the FTP virtual directory. kind of clumbsy.
After going through all these, you can try to login with some thirdy-party FTP client. If it gives you a 5XX error telling you that your account is not correct. It may not be what it means. You have to turn off anonymous login from IIS FTP to use system account to login. Very Weird logic to me but M$ just love to do things in this way. Just get used to it…
我會用5.0版做例子.我在server 2008使用IIS 7.0版建立過FTP.方法也是大同小異.
首先,我假設你已經有架FTP的經驗,可能是Filezilla的.你要設定好連線方法,連接埠等.然後再設定使用者或群組的存取權限.
在IIS裡的FTP,會跟上述有點不一樣.它用的是系統帳戶.所以你要先打開FTP發佈服務然後啟動FTP.再進去控制台,幫FTP使用者加入帳戶.再把你想在FTP看到的目錄加入為虛擬目錄.還要到實際的目錄設定適當的使用者權限.然後還要去FTP對應的虛擬目錄設定讀/寫的權限.感覺很笨.
在處理好以上步驟後,你就可以用第三方FTP客戶端連看看.如果它傳你一個5XX錯誤.說你的帳號不正確.它可能並不是真正原因.你要去IIS的FTP裡把匿名登入關掉才能用帳戶登入.這真是一個很怪的邏輯,不過M$都喜歡搞這一套.習慣就好…

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s