CurlsMBS + recursively copy folder from ftp to desktop

I have an ftp program that’s great at listing files and folders, and downloading seleted files. But I haven’t figured out how to download the contents of folders that may have more folders inside it.

Is there an example somewhere I can use to figure this out?

Sorry, we don’t have such an example.
You may check the directory listing examples to get a listing of folders, detect what is a file and what a folder.
Then you can keeping adding folders to the list of directories to check.
And collect a list of all the file URLs.
And run in parallel a queue to download the files.

1 Like