FormHelperGetFilePhysicalPath Method |
Gets path to the file in file system.
Namespace: CMS.FormEngineAssembly: CMS.FormEngine (in CMS.FormEngine.dll) Version: 8.2.23
Syntax 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:
StringPhysical path
See Also