如何构建本地FTP站点

1. Create a FTP folder in your C or other disk, named “FTP Folder”  or other name.
在本地创建一个文件夹,作为FTP站点目录。

2. Install IIS components.

Star Menu -> Control Panel  ->  Programs  ->  Turn Windows features on or off  ->  Internet Information Services  ->  FTP Server  ->  Ok。

打开控制面板->程序->开启或关闭应用功能-> IIS -> 勾选FTP服务器复选框。

You have installed FTP into Server after completed these steps.

110543_Oxcj_942203.png

3. Configure FTP Server.

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

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

110633_rfjt_942203.png

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

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

110750_tsLQ_942203.png

 

  • Authentication And Authorization Information

给新建的站点赋权:

110849_7cJm_942203.png

Double click the "Authentication", change these items:

111014_qNhf_942203.png

Set Authorization Rules:

111122_rW8J_942203.png

Configure Directory Browsing:

Enable Directory Browsing:

如果这个目录浏览功能是Disabled,那么在浏览器中打开站点是不能看到这个站点目录下的文件列表的哦。

112122_ZSeY_942203.png

4. Open your web site on Browser:

Right click the site name "AutomationReport" -> "Manage Web Site" -> "Browser", it will open the web site :

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

112051_4PKe_942203.png

成功了。。。

转载于:https://my.oschina.net/u/942203/blog/1794446

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值