FileImport ImportFiles Method Kentico 8.0 API Reference
Imports the set of files.

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

Parameters

siteName
Type: OnlineSystem String
Site name
targetAliasPath
Type: OnlineSystem String
Target alias path
cultureCode
Type: OnlineSystem String
Culture code
fileList
Type:  OnlineSystem String 
File list
relativePathList
Type:  OnlineSystem String 
List of files paths that are relative to file import folder. Used by file import to create tree structure that represents sub-tree of file import folder. If this feature is not necessary use null value
userId
Type: OnlineSystem Int32
User ID
deleteImportedFile
Type: OnlineSystem Boolean
Indicates if physical file should be deleted after import
Remarks

Path values are file system paths (with \ as the path separator)
See Also