Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getCapacity (0.07 sec)

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

                response = new Trans2QueryFSInformationResponse(level);
                send(new Trans2QueryFSInformation(level), response);
    
                size = response.info.getCapacity();
            } else if (getUncPath0().length() > 1 && type != TYPE_NAMED_PIPE) {
                final Info info = queryPath(getUncPath0(), Trans2QueryPathInformationResponse.SMB_QUERY_FILE_STANDARD_INFO);
    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

            }
    
            try (SmbTreeHandleImpl th = ensureTreeConnected()) {
                final int t = getType();
                if (t == TYPE_SHARE) {
                    this.size = fetchAllocationInfo(th).getCapacity();
                } else if (!this.fileLocator.isRoot() && t != TYPE_NAMED_PIPE) {
                    queryPath(th, this.fileLocator.getUNCPath(), FileInformation.FILE_STANDARD_INFO);
                } else {
    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