Re Is it possible to export the list of folders and files to a text file, for example?
Yes, you can get it via API by getListOfFiles request. But, you will need to parse XML or JSON to do that.
You can try it here: https://storagemadeeasy.com/?p=apidoc
Also, have a look at getFolderContents. It is more flexible.