如何构建本地FTP站点

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

  • Search IIS(Star menu) à Internet Information Service(IIS) Manager
  • Add a new FTP Site

新建一个站点,输入站点名字,选择本地文件夹路径,而后输入端口号,也能够用默认的端口号。io

After click ok button ,one new site named "AutomationReport" is created.form

点击确认之后,回到IIS 主界面,就会看到新创建的站点:cli

 

  • Authentication And Authorization Information

给新建的站点赋权:程序

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 :

在浏览器打开这个站点,就能够看到站点里的内容列表了:

成功了。。。

相关文章
相关标签/搜索