renameFile (method)

Change the name of RemoteFile to NewName .

Syntax

- (void)renameFile:(NSString*)newName;
public func renameFile(_ newName: String) throws -> Void

Remarks

The name of remote file or folder specified by RemoteFile is changed to NewName. RemoteFile and NewName are either absolute paths on the server, or a path relative to RemotePath.

If there is no SSH session in place, one is automatically created by the component first.

Copyright (c) 2023 /n software inc. - All rights reserved.
IPWorks SSH 2020 iOS Edition - Version 20.0 [Build 8501]