Add a recursive rule search to the SFTP server
Following our discussion here, a recursive search for rules should be added to the SFTP server, so that sub-directories are possible.
This would also fix the issue with the 'Stat' command not working on directories.