Re: If I assign the TempDirectory dynamically, the ajaxupload control creates the directory if it is not there. I need to disable that

  •  06-11-2009, 2:01 AM

    Re: If I assign the TempDirectory dynamically, the ajaxupload control creates the directory if it is not there. I need to disable that

    Hi,
     
    You can implement the custom uploader provider to save the temporary files.
     
    1 - create a class which inherits the CuteWebUI.UploaderProvider
     
    2 - register it into web.config appSettings:
      <add key="CuteWebUI.AjaxUploader.Provider" value="YourProject.YourProviderClass" />
     
    And then you can save the file to any place only when it required , without specify the uploader.TempDirectory dynamically.
     
    Regards,
    Terry
View Complete Thread