Re: Storage provider and Upload provider

  •  09-25-2012, 2:55 AM

    Re: Storage provider and Upload provider

    RTE8.0 provides both Sql File Provider and Local File Provider

     

    The following code shows how to use SqlFileProvider in 8.0 

      

    1.             Editor1.SetSecurity("*""*""FileProviderType"typeof(SqlFileProvider).AssemblyQualifiedName);  
    2.             Editor1.SetSecurity("*""*""StoragePath""/");  
    3.             Editor1.SetSecurity("*""*""FileProviderArg0""download.ashx?file=");  

    This is the sqlfileprovider example codes   /rte-uploads/members/166648/zip/sqlfileprovider.zip, there is a  sql scripts file to create the File Storage Table, please run it in your database  first

View Complete Thread