Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for TYPE_SHARE (0.09 seconds)

  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.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 112.2K bytes
    - Click Count (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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 103.2K bytes
    - Click Count (0)
Back to Top