Click or drag to resize
FileGetFileUrl Method
Returns URL to file. If can be accessed directly then direct URL is generated else URL with GetFile page is generated.

Namespace: CMS.FileSystemStorage
Assembly: CMS.FileSystemStorage (in CMS.FileSystemStorage.dll) Version: 8.2.23
Syntax
C#
public override string GetFileUrl(
	string path,
	string siteName
)

Parameters

path
Type: SystemString
Virtual path starting with ~ or absolute path.
siteName
Type: SystemString
Site name.

Return Value

Type: String
See Also