trying to limit NeatUpload to one directory

May 4, 2011 at 10:32 PM

I have only one directory where I need to use NeatUpload.  I am trying to use the location section of the web.config file to accomplish this, but I am unable to.  I don't know how do define the path.  The "friendly URL" path isn't working.

Here is how I have it defined.  The rest of the web.config settings seem to be fine and NeatUpload works.  I just can't limit it to a specific location. 

  </system.web>
  <neatUpload useHttpModule="false" maxRequestLength="102400" defaultProvider="FilesystemUploadStorageProvider" maxNormalRequestLength="16384">
    <providers>
      <add name="FilesystemUploadStorageProvider" type="Brettle.Web.NeatUpload.FilesystemUploadStorageProvider, Brettle.Web.NeatUpload" />
    </providers>
  </neatUpload>
  <location path="My-Videos">
    <system.web>
      <httpRuntime maxRequestLength="2097151" executionTimeout="3600" />
    </system.web>
    <neatUpload useHttpModule="true" />
  </location>