IPWorks EDI 2020 JavaScript Edition

Questions / Feedback?

ListDirectory Method

List the current directory specified by RemotePath on an SFTP server.

Syntax

async sftp.listDirectory(): Promise<void>

Remarks

A listing is requested for the directory (or file mask) specified in RemoteFile. RemoteFile is either an absolute path on the server, or a path relative to RemotePath. The file listing is received through the DirList event.

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]