Table of Contents

Method DeleteFileAsync

Namespace
SshSharp.Sftp
Assembly
SshSharp.dll

DeleteFileAsync(string, CancellationToken)

Deletes a file (or a symbolic link, not its target).

public Task DeleteFileAsync(string path, CancellationToken cancellationToken = default)

Parameters

path string
cancellationToken CancellationToken

Returns

Task