IPWorks EDI 2020 JavaScript Edition

Questions / Feedback?

ListDirectory Method

List the current directory on an FTP server.

Syntax

async as3sender.listDirectory(filesToList : string): Promise<void>

Remarks

A listing is requested for the directory or file mask specified in FilesToList. This can be an absolute path on the server, a path relative to RemotePath, or a file mask. The file listing is received through the DirList event.

Similar to ListDirectoryLong, except only file names are returned. If there is no FTP session in place, one is automatically created by first calling the Logon method.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks EDI 2020 JavaScript Edition - Version 20.0 [Build 8262]