DebugHelper EnsureDiskPath Method Kentico 8.0 API Reference
Checks if all folders of the given path exist and if not, it creates them.

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

path
Type: OnlineSystem String
Full disk path of the file including file name
startingPath
Type: OnlineSystem String
Starting path where folders can be checked and created
See Also