You can do this via CLI.
Use a command-line FTP client and run this command:
dir -lR
or
ls -R
which will list recursively the content of all directories and subdirectories.
Otherwise, without using a FTP client:
wget -r -x --no-remove-listing --spider ftp://ftp.example.com/
This will use wget to:
- retrieve recursively (
-r
) all directories and subdirectories, - creating mirror subdirs on the client (
-x
) - and hence a tree of directories on the client identical as the server but containing only
.listing
(--no-remove-listing
) files showing the contents of each directory, - without retrieving the files themselves (
--spider
).