Ftp.getDirectoryListing

Get the contents of the given directory.

This function retrieves the sub-directories and files contained in the given directory. It is not recursive. The directory parameter is relative to the current working directory.

class Ftp
getDirectoryListing
(
const(char)[] directory = ""
)

Parameters

directory
Type: const(char)[]

Directory to list

Return Value

Server response to the request.

Meta