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

Ftp.DeleteFileAsync Method

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

DeleteFileAsync(String, Object)

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

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

The pathname of the file to be deleted. Either an absolute pathname or relative to the current working directory.

Object state

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

Returns
Type Description
Task
Implements
IFtp.DeleteFileAsync(String, Object)
Remarks

Represents FTP DELE command.

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