FTPConnectionRelativePathToAbsolute Method |
Combines a relative path with an absolute path.
Namespace:
EnterpriseDT.Net.Ftp
Assembly:
edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.3.0.0
Syntaxprotected string RelativePathToAbsolute(
string absolutePath,
string relativePath
)
Protected Function RelativePathToAbsolute (
absolutePath As String,
relativePath As String
) As String
protected:
String^ RelativePathToAbsolute(
String^ absolutePath,
String^ relativePath
)
member RelativePathToAbsolute :
absolutePath : string *
relativePath : string -> string
Parameters
- absolutePath
- Type: SystemString
Absolute path - relativePath
- Type: SystemString
Relative path
Return Value
Type:
StringCombination 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