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

Sftp.GetList Method

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

GetList()

Retrieves the list of files and directories in the current remote directory.

Declaration
public SftpItemCollection GetList()
Returns
Type Description
SftpItemCollection

Collection of SftpItem values.

GetList(String)

Retrieves the list of files and directories in the specified remote directory, or a list of files matching the specified mask.

Declaration
public SftpItemCollection GetList(string path)
Parameters
Type Name Description
String path

The path of the remote directory, or null for current directory. File wildcards masks (such as *.txt) are accepted as well.

Returns
Type Description
SftpItemCollection

Collection of SftpItem values.

Remarks

Argument is taken case sensitive if ServerType equals to Unix; case insensitive otherwise.

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