ExportProvider CopyDirectory Method (String, String,  String , String)Kentico 8.0 API Reference
Copies specified directory including its sub-directories and all underlying files.

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

Parameters

sourcePath
Type: OnlineSystem String
Full disk path of the source directory
targetPath
Type: OnlineSystem String
Full disk path of the new copy of the directory including its name
excludedDirs
Type:  OnlineSystem String 
Sub-directories to be excluded
websitePath
Type: OnlineSystem String
Web site path
See Also