IPWorks EDI 2020 JavaScript Edition

Questions / Feedback?

DeleteFile Method

Remove a file specified by FileName from an SFTP server.

Syntax

async sftp.deleteFile(fileName : string): Promise<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) 2022 /n software inc. - All rights reserved.
IPWorks EDI 2020 JavaScript Edition - Version 20.0 [Build 8262]