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

Sftp.RenameAsync Method

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

RenameAsync(String, String, Object)

Begins asynchronous Rename operation. Renames or moves a file or directory on the server.

Declaration
public Task RenameAsync(string fromPath, string toPath, object state = null)
Parameters
Type Name Description
String fromPath

The pathname of the remote file or directory to be renamed.

String toPath

The pathname to rename the file or directory to.

Object state

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

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