Click or drag to resize

FTPCheckForFiles Method (FTPHeader, String, FTPFilterType, String)

Gets all the files in a remote directory with an optional filter on the extension.

Namespace:  Koden.Utils.FTPClient
Assembly:  Koden.Utils.FTPClient (in Koden.Utils.FTPClient.dll) Version: 1.1.6453.26060
Syntax
public static FWRetVal<string> CheckForFiles(
	FTPHeader ftpHeader,
	string serverPath,
	FTPFilterType filterType = FTPFilterType.None,
	string filterText = null
)

Parameters

ftpHeader
Type: Koden.Utils.FTPClientFTPHeader
The FTP header.
serverPath
Type: SystemString
The server path.
filterType (Optional)
Type: Koden.Utils.FTPClientFTPFilterType
Type of the filter (None, StartsWith, etc).
filterText (Optional)
Type: SystemString
The filter. - (do not use * or %)

Return Value

Type: FWRetValString
FWRetVal string the "Record" contains number of files copied
See Also