简体   繁体   中英

create Ftp Site programatically using C# IIS6

is there a way to create FTP site as a sibling (not as a child) of the default FTP Site??? I can't find it in google, so for now I'm using scripting: iisftp /create C:\\MyFolder "MySiteName"

thanks in advance.

Can't remember the exact details, but hopefully this might help you get started.

I have worked on code that made a complete copy of an IIS setup from one server to another using ADSI, so I'm fairly confident in that if it's possible, you can use ADSI to do it.

Very worst case I would have thought that you should be able to do it by creating the FTP site as normal and then adjusting the IIS Metabase Properties .

Creating Sites and Virtual Directories Using ADSI

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM