locked
How do I 'Set FTP Site Virtual Directory Write Permissions' with command prompt? RRS feed

  • Question

  • User-1762331558 posted
    I think the title says it all. I am currently trying to eliminate user input and allow my application to automate the installation of my FTP site. Which works great using this: cscript C:\WINDOWS\System32\iisftpdr.vbs /create "Default FTP Site" myVDir "C:\Documents and Settings\User\Application Data\MyApp" that creates the virtual directory on my ftp site without any issue the problem is that I don't know how to set the permissions. By default it only gives Read permissions. How can I make it set AccessWrite to True via the command prompt? Thanks!
    Wednesday, February 1, 2012 12:25 PM

Answers

  • User-1762331558 posted
    nevermind I finally found something after 30 minutes of looking cscript C:\inetpub\AdminScripts\adsutil.vbs SET MSFTPSVC/1/Root/myVdir/AccessWrite "True"
    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Wednesday, February 1, 2012 12:30 PM