These forums are read-only and considered to be an archive. Please use the new Community for future interaction and posts.

Add a logical subfolder

I've tried to add a logical subfolder with this command:
FileVistaRootFolder root = new FileVistaRootFolder("01", "~/App_Data/fileshare");
root.AddSubfolder("Test", FileVistaPermissions.Full, true, 1, FileVistaQuotaUnit.MB, "*.*");

But nothing happens, i don't see in the folder tree the "Test" subfolder, also in your example: http://www.gleamtech.com/demos/fileultimate/example3.aspx i don't see the "Readonly Subfolder"!

Thanks
Giorgio 10/3/2012 3:33 AM
AddSubfolder method is used to add an access control entry rahter than a physical subfolder. So if "Test" subfolder exists, it will inherit permissions and quota limit you specified. This method does not check the existence of the actual subfolder.

FYI, in the next version we will change the API so it's more clear and flexible.
Cem Alacayir 10/3/2012 4:51 PM