Click or drag to resize

FtpPathCombine Method

Combines an array of strings into an FTP path.

Namespace: GSF.Net.Ftp
Assembly: GSF.Net (in GSF.Net.dll) Version: 2.4.218-beta
Syntax
public static string Combine(
	params string[] paths
)
View Source

Parameters

paths  String
An array of parts of the path.

Return Value

String
The combined paths.
Exceptions
ExceptionCondition
ArgumentNullExceptionOne of the strings in the array is null.
Remarks
paths should be an array of the parts of the path to combine. If the one of the subsequent paths is an absolute path, then the combine operation resets starting with that absolute path, discarding all previous combined paths. Zero-length strings are omitted from the combined path.
See Also