Table of Contents

Method ExistsAsync

Namespace
SshSharp.Sftp
Assembly
SshSharp.dll

ExistsAsync(string, CancellationToken)

Whether path exists (following symbolic links: a dangling link does not).

public Task<bool> ExistsAsync(string path, CancellationToken cancellationToken = default)

Parameters

path string
cancellationToken CancellationToken

Returns

Task<bool>