ListDirectory Method

List the current directory on an FTP server.

Syntax

public void listDirectory(String filesToList);

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 Java Edition - Version 20.0 [Build 8203]