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

Sftp.DeleteFileAsync Method

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

DeleteFileAsync(String, Object)

Begins asynchronous DeleteFile operation. Deletes a file on the server.

Declaration
public Task DeleteFileAsync(string remotePath, object state = null)
Parameters
Type Name Description
String remotePath

The path to the file to be deleted.

Object state

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

Returns
Type Description
Task
Implements
IFtp.DeleteFileAsync(String, Object)
In This Article
  • DeleteFileAsync(String, Object)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies