Camel FTP can operate in two modes in terms of traversing directories when consuming files (for example, downloading) or producing files (for example, uploading)
You may want to pick either one depending on your situation and security issues (some
Camel end users can only download files if they use stepwise, while others can only download
if they do not). You can use the
stepwise option to control the behavior. See
the online Camel documentation for examples of both techniques.