Last post Nov 17, 2013 10:17 PM by chetan.sarode
Nov 16, 2013 10:01 AM|shashikant2011|LINK
I know how to create folder(directory) on server but I don't have any idea on creating directory from one website to another programmatically.
(Please note here both domains must be present on same server.)
Nov 16, 2013 11:07 AM|Coder111|LINK
Should be fairly straight forward. Make sure the app pool identity account has permissions on the target web app then use system.io to create the folder (you'd have to use the server path to do this).
Nov 16, 2013 11:32 AM|oned_gk|LINK
Nov 17, 2013 10:17 PM|chetan.sarode|LINK
You can use the Microsoft.Web.Administration and Microsoft.Web.Management .NET wrappers described
here to code up anything you need to do in IIS.