Click or drag to resize
MediaFileInfoProviderCopyMediaFileInternal Method
Copy media file.

Namespace: CMS.MediaLibrary
Assembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 8.2.23
Syntax
C#
protected virtual void CopyMediaFileInternal(
	string siteName,
	int libraryID,
	string origPath,
	string newPath,
	bool synchronization,
	int userId
)

Parameters

siteName
Type: SystemString
Site name
libraryID
Type: SystemInt32
Library ID
origPath
Type: SystemString
Old file path within the library folder
newPath
Type: SystemString
New file path within the library folder
synchronization
Type: SystemBoolean
Indicates if method is running by web farms synchronization
userId
Type: SystemInt32
ID of the user performing copy action
See Also