An NDoc Documented Class Library

FTPConnection.RelativePathToAbsolute Method 

Combines a relative path with an absolute path.

protected string RelativePathToAbsolute(
   string absolutePath,
   string relativePath
);

Parameters

absolutePath
Absolute path
relativePath
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'

See Also

FTPConnection Class | EnterpriseDT.Net.Ftp Namespace