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

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