Quintin Par Quintin Par - 2 months ago 13
ASP.NET (C#) Question

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?

Answer

NAnt <attrib> task can do this.

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