I am using the FTP Input plugin with the option “Search in subfolders”. Now I need to get the subfolder name from where I catch the file. JobInfo %4 should do that, but there I only get the main folder.
How can I get the subfolder name?
EDIT: I tried also the SFTP plugin but there is no option “Search in subfolders”…