Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

Ftp.GetItems Method

Namespace: Rebex.Net
Assembly: Rebex.Ftp.dll (version 7.0.9147)

GetItems(String)

Returns parsed list of files and directories. Matching directories are searched recursively.

Declaration
public FtpItemCollection GetItems(string remotePath)
Parameters
Type Name Description
String remotePath

The path (with or without a mask) to a remote file or directory.

Returns
Type Description
FtpItemCollection

An instance of FtpItemCollection containing the file list.

GetItems(String, TraversalMode)

Returns parsed list of files and directories.

Declaration
public FtpItemCollection GetItems(string remotePath, TraversalMode traversalMode)
Parameters
Type Name Description
String remotePath

The path (with or without a mask) to a remote file or directory.

TraversalMode traversalMode

Specifies how to traverse hierarchy of directories.

Returns
Type Description
FtpItemCollection

An instance of FtpItemCollection containing the file list.

GetItems(FileSet)

Returns parsed list of files and directories specified by the set.

Declaration
public FtpItemCollection GetItems(FileSet set)
Parameters
Type Name Description
FileSet set

A filtering set which specifies remote files and directories to be retrieved.

Returns
Type Description
FtpItemCollection

An instance of FtpItemCollection containing the file list.

In This Article
  • GetItems(String)
  • GetItems(String, TraversalMode)
  • GetItems(FileSet)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies