Search code examples
asp.netautomationhostingnant

Setting write permissions on godaddy hosting


I have godaddy asp.net hosting. Every time I upload the build, it’s a manual laborious task of setting write permissions (to folders) through the web interface.

Is this any way to automate this using NAnt?


Solution

  • NAnt <attrib> task can do this.

    <!-- readonly="false" is default - for clarity only -->
    <attrib readonly="false">
      <fileset basedir="C:\foo">
        <include name="**/*" />
      </fileset>
    </attrib>