Trying to fix recursive error when listing files using ftputil.