Parsed: 108802

  public function exists( $path ) {
    $list = ftp_nlist( $this->link, $path );

    if ( empty( $list ) && $this->WP_Filesystem_FTPext::is_dir( $path ) ) {
      return true; // File is an empty directory.
    }

    return ! empty( $list ); // Empty list = no file, so invert.
  }