FileHelper CopyDirectory Method Kentico 8.0 API Reference
Copies specified directory including its subdirectories and all underlying files.

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

Parameters

sourcePath
Type: OnlineSystem String
Path of the source directory (can be relative starting with ~/)
targetPath
Type: OnlineSystem String
Path of the new copy of the directory including its name (can be relative starting with ~/)
See Also