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

Sftp.IFtp.GetItemsAsync Method

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

IFtp.GetItemsAsync(String, TraversalMode, Object)

Retrieves the list of files and directories.

Declaration
Task<FileSystemItemCollection> IFtp.GetItemsAsync(string remotePath, TraversalMode traversalMode, object state)
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.

Object state

An optional user-provided object that identifies this particular asynchronous operation.

Returns
Type Description
Task<FileSystemItemCollection>

Collection of FileSystemItem values.

Implements
IFtp.GetItemsAsync(String, TraversalMode, Object)

IFtp.GetItemsAsync(FileSet, Object)

Retrieves the list of files and directories specified by the set.

Declaration
Task<FileSystemItemCollection> IFtp.GetItemsAsync(FileSet set, object state)
Parameters
Type Name Description
FileSet set

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

Object state

An optional user-provided object that identifies this particular asynchronous operation.

Returns
Type Description
Task<FileSystemItemCollection>

Collection of FileSystemItem values.

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