I need to recursively retrieve the file/directory structure of an FTP server, getting only file names (without payload). Can you help me how to do this? (curl, wget, …).
The result should be the directory tree with all files with 0 size, but also a text file with file/dir list can be good.
I tried to use the .listing generated by wget but it's too much verbose (I need only file name with full path).