Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TYPE_SHARE (0.06 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbFile.java

        }
    
        /**
         * Returns the length of this {@code SmbFile} in bytes. If this object
         * is a {@code TYPE_SHARE} the total capacity of the disk shared in
         * bytes is returned. If this object is a directory or a type other than
         * {@code TYPE_SHARE}, 0L is returned.
         *
         * @return The length of the file in bytes or 0 if this
         * <code>SmbFile</code> is not a file.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFile.java

                } else {
                    // Optimize file/directory existence check with connection reuse
                    try (SmbTreeHandleImpl th = ensureTreeConnected()) {
                        if (this.fileLocator.getType() == TYPE_SHARE) {
                            // For share root, tree connection success indicates existence
                            // This avoids unnecessary queryPath calls
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
Back to top