code: public SFTPv3FileAttributes _stat(String path) throws IOException {
          try {
              return stat(path);
          } catch (SFTPException e) {
              int c = e.getServerErrorCode();
              if (c==ErrorCodes.SSH_FX_NO_SUCH_FILE || c==ErrorCodes.SSH_FX_NO_SUCH_PATH)
                  return null;
              else
                  throw e;
          }
      }
docs: Graceful {@link #stat(String)} that returns null if the path doesn't exist.
  @param path directory path.
  @throws IOException if it is not possible to access to the directory.