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

Namespace: CMS.IO
Assembly: CMS.IO (in CMS.IO.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 (subset of file path) that will not be checked
See Also