Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Convert absolute file path to relative URL.
Syntax
client server public static str convertAbsoluteFilePathToRelativeUrl(str _absoluteFilePath, str _baseDirectory)
Run On
Called
Parameters
- _absoluteFilePath
Type: str
The absolute file path.
- _baseDirectory
Type: str
The base directory.
Return Value
Type: str
The relative URL if the absolute file path is under the given base directory, otherwise empty.