Click or drag to resize
FormHelperGetFilePhysicalPath Method
Gets path to the file in file system.

Namespace: CMS.FormEngine
Assembly: CMS.FormEngine (in CMS.FormEngine.dll) Version: 12.0.0
Syntax
C#
public static string GetFilePhysicalPath(
	string siteName,
	string fileName,
	string webFullPath = null
)

Parameters

siteName
Type: SystemString
Site name
fileName
Type: SystemString
File name
webFullPath (Optional)
Type: SystemString
Physical path to the root of the web project (e.g. c:\WebProject\), if it is not specified web application physical path is used

Return Value

Type: String
Physical path
See Also