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

Sftp.GetRawListAsync Method

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

GetRawListAsync(Object)

Begins asynchronous GetRawList operation. Retrieves the list of files and directories in the current remote directory using a raw text format.

Declaration
public Task<string[]> GetRawListAsync(object state = null)
Parameters
Type Name Description
Object state

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

Returns
Type Description
Task<String[]>

An array of lines, with each line representing a single item.

Implements
IFtp.GetRawListAsync(Object)

GetRawListAsync(String, Object)

Begins asynchronous GetRawList operation. Retrieves the list of files and directories in the specified remote directory (or a list of files matching the specified mask) using a raw text format.

Declaration
public Task<string[]> GetRawListAsync(string path, object state = null)
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.

Object state

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

Returns
Type Description
Task<String[]>

An array of lines, with each line representing a single item.

Implements
IFtp.GetRawListAsync(String, Object)
Remarks

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

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