ConvertPathToURI Method

MCManager API

Returns a site absolute path from a absolute file system path for example /www/mywwwroot/mydir/myfile.htm will be converted to /mydir/myfile.htm.

Namespace:  Moxiecode.Manager
Assembly:  MCManager (in MCManager.dll) Version: 1.0.0.0

Syntax

C#
public string ConvertPathToURI(
	string abs_path
)
Visual Basic (Declaration)
Public Function ConvertPathToURI ( _
	abs_path As String _
) As String
Visual C++
public:
String^ ConvertPathToURI(
	String^ abs_path
)

Parameters

abs_path
Type: System..::.String
Absolute path for example /mydir/myfile.htm

Return Value

Site absolute path (URI) or empty string on failure.

See Also