deleteFile (method)

Remove a file specified by FileName from an SFTP server.

Syntax

- (void)deleteFile:(NSString*)fileName;
public func deleteFile(_ fileName: String) throws -> Void

Remarks

The remote file or directory specified by FileName is deleted. FileName is either an absolute path 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]