docs: protected boolean isDirectory(String remoteFilePath) throws IOException {
          if (!ftpClient.changeWorkingDirectory(remoteFilePath)) { // not a directory or not accessible
  
              switch (ftpClient.listFiles(remoteFilePath).length) {
                  case 0:
                      throw new CitrusRuntimeException("Remote file path does not exist or is not accessible: " + remoteFilePath);
                  case 1:
                      return false;
                  default:
                      throw new CitrusRuntimeException("Unexpected file type result for file path: " + remoteFilePath);
              }
          } else {
              return true;
          }
      }