Copy media file.
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- siteName
- Type:
System String
Site name
- libraryID
- Type:
System Int32
Library ID
- origPath
- Type:
System String
Old file path within the library folder
- newPath
- Type:
System String
New file path within the library folder
- synchronization (Optional)
- Type:
System Boolean
Indicates if method is running by web farms synchronization
- userId (Optional)
- Type:
System Int32
ID of the user performing copy action
See Also