markdown Microsoft IIS FTP服务器

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown Microsoft IIS FTP服务器相关的知识,希望对你有一定的参考价值。

How to install Microsoft FTP Server (IIS) with multiple user accounts, each having their own separate home directories. Should work under any recent windows version.

### Prerequisites / Install components

* Create some local user accounts that will later be used to access the server w/ FTP
* With the Server Manager Tool install the Role "Webserver (IIS)", including Managment Tools
* One the details page, select FTP Server, FTP Service and FTP Extensibility

### Setup the basic FTP Site

* Open IIS Management Console
* Create a new FTP Site named "MainFTP" pointing to "C:\inetpub\ftproot"
* Next, leave IP unassigned and disable SSL (this being a simple manual for using FTP internally)
* Select Basic Authentication and Allow access to Specified users
* For the username you can take your local user w/ read/write permissions for example to be able to proceed
* Finish the wizard

### Adjust IIS FTP Settings

* Under the newly created "MainFTP" Site select user isolation
* Choose "Isolate Users" - "User name directory"
* Under "MainFTP", create a new virtual directory named "LocalUser" pointing to "C:\inetpub\ftproot" (must be named "LocalUser" to work correctly)

### Per-User Steps

* Under LocalUser, create a new virtual directory matching the username
* Point the physical path to where you want
* Double click the "FTP Authorization Rules" in the newly created virtual directory
* Click "Add Allow Rule"
* At specific users, insert the corresponding username and set permissions as wanted
* Make sure the user also has the right NTFS permissions in the file system for this directories

## Sources

http://www.sherweb.com/blog/how-to-set-up-ftp-access-for-multiple-users-with-user-isolation/

以上是关于markdown Microsoft IIS FTP服务器的主要内容,如果未能解决你的问题,请参考以下文章

IIS7 Microsoft.Web.Administration 创建Application问题

Visual Studio 11 Beta / IIS 7.5:未找到 Microsoft.ReportViewer.Common V11

IIS 调用Microsoft.Office.Interop.Word.Documents.Open 返回为null

IIS URL 重写使用(Microsoft URL Rewrite Module)

对 IIS 的 GET 请求返回 Microsoft-HttpApi/2.0

Microsoft.AspNetCore.Server.IIS.Core.IISHttpContextOfT 中间件 C# .NET Core 2.2