1. Create a FTP folder in your C or other disk, named 「FTP Folder」 or other name.
在本地建立一個文件夾,做爲FTP站點目錄。web
2. Install IIS components.瀏覽器
Star Menu -> Control Panel -> Programs -> Turn Windows features on or off -> Internet Information Services -> FTP Server -> Ok。服務器
打開控制面板->程序->開啓或關閉應用功能-> IIS -> 勾選FTP服務器複選框。component
You have installed FTP into Server after completed these steps.orm
3. Configure FTP Server.it
新建一個站點,輸入站點名字,選擇本地文件夾路徑,而後輸入端口號,也能夠用默認的端口號。io
After click ok button ,one new site named "AutomationReport" is created.form
點擊確認之後,回到IIS 主界面,就會看到新創建的站點:cli
給新建的站點賦權:程序
Double click the "Authentication", change these items:
Set Authorization Rules:
Configure Directory Browsing:
Enable Directory Browsing:
若是這個目錄瀏覽功能是Disabled,那麼在瀏覽器中打開站點是不能看到這個站點目錄下的文件列表的哦。
4. Open your web site on Browser:
Right click the site name "AutomationReport" -> "Manage Web Site" -> "Browser", it will open the web site :
在瀏覽器打開這個站點,就能夠看到站點裏的內容列表了:
成功了。。。