DirectoryHelper EnsureDiskPath Method Kentico 8.1 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.1.5347.20411)

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