FileHelper CopyDirectory Method Kentico 8.1 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.1.5347.20411)

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