Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getCapacity (0.31 sec)

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

            }
    
            try ( SmbTreeHandleImpl th = ensureTreeConnected() ) {
                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);
                }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
Back to top