 | 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
Syntaxpublic static FWRetVal<string> CheckForFiles(
FTPHeader ftpHeader,
string serverPath,
FTPFilterType filterType = FTPFilterType.None,
string filterText = null
)
Public Shared Function CheckForFiles (
ftpHeader As FTPHeader,
serverPath As String,
Optional filterType As FTPFilterType = FTPFilterType.None,
Optional filterText As String = Nothing
) As FWRetVal(Of String)
public:
static FWRetVal<String^>^ CheckForFiles(
FTPHeader^ ftpHeader,
String^ serverPath,
FTPFilterType filterType = FTPFilterType::None,
String^ filterText = nullptr
)
static member CheckForFiles :
ftpHeader : FTPHeader *
serverPath : string *
?filterType : FTPFilterType *
?filterText : string
(* Defaults:
let _filterType = defaultArg filterType FTPFilterType.None
let _filterText = defaultArg filterText null
*)
-> FWRetVal<string>
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