FileStorage - GetFileItems

  •  10-09-2006, 3:24 PM

    FileStorage - GetFileItems

    The dir path parameter is always empty. Not sure what I am missing. I can access the current directory via the request collection like this:
     

    public override DirectoryItem[] GetDirectoryItems(string dirpath, bool getcount)

    {

       if (!string.IsNullOrEmpty(System.Web.HttpContext.Current.Request["C_GP"])) dirpath =    System.Web.HttpContext.Current.Request["C_GP"];

       if (string.IsNullOrEmpty(dirpath)) dirpath = FolderRoot.WebsiteResource.FullPath;
     ....
     
     
     
    All other functions that take the dirpath parameter are empty too.
     
     
View Complete Thread