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. 

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