KB : AjaxUploader recent updates (2009-08-25)

  •  08-24-2009, 10:51 PM

    KB : AjaxUploader recent updates (2009-08-25)

     
    2 - new web.config appSettings : <add key="CuteWebUI.AjaxUploader.UseAspNetStream" value="True"/>
     
    when specify this setting :
        in  ASP.NET1.1 uploader will not stream the memory data into disk ,
        in ASP.NET2.0, ASP.NET will stream the data into temp file.
        IFrame mode will not able to report correct progress information.
     
    3 - add option to impersonate an user
       new web.config appSettings :
     
     <add key="CuteWebUI.AjaxUploader.WindowsUsername" value="Terry" />
     <add key="CuteWebUI.AjaxUploader.WindowsPassword" value="12345abcde" />
     <add key="CuteWebUI.AjaxUploader.WindowsDomain" value="" />
     
    Web Application need <trust level="Full" /> for this option
    While the page loading , the page lifetime may be affect by this account setting!
    If not , use uploader.GetUploaderProvider() to ensure the uploader control impersonate the account,
      (otherwise if you will get permission error while call something like File.Copy(uploadAttachments1.Items[0].FilePath,"myfolder/"+uploadAttachments1.Items[0].FileName); )
     
     
     
     
     
     
     
     
     
View Complete Thread