Combines a relative path with an absolute path.
Namespace: EnterpriseDT.Net.FtpAssembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 9.4.0.40
Syntax
C# |
---|
protected string RelativePathToAbsolute( string absolutePath, string relativePath ) |
Visual Basic |
---|
Protected Function RelativePathToAbsolute ( _ absolutePath As String, _ relativePath As String _ ) As String |
Visual C++ |
---|
protected: String^ RelativePathToAbsolute( String^ absolutePath, String^ relativePath ) |
Parameters
- absolutePath
- Type: System..::..String
Absolute path
- relativePath
- Type: System..::..String
Relative path
Return Value
Combination of absolute and relative paths.Remarks
An example of an absolute path is 'C:\work\ftp'. Examples of a relative path combined with this are shown below:
'myfiles\cv.txt' => 'c:\work\ftp\myfiles\cv.txt''.\myfiles\cv.txt' => 'c:\work\ftp\myfiles\cv.txt''..\myfiles\cv.txt' => 'c:\work\myfiles\cv.txt'