JPST > Tutorial > List all folders

The following example shows you how recursively get and list all folders.