Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getDiskFreeSpace (0.09 sec)

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

                return this.size;
            } catch (final CIFSException e) {
                throw SmbException.wrap(e);
            }
        }
    
        @Override
        public long getDiskFreeSpace() throws SmbException {
            try (SmbTreeHandleImpl th = ensureTreeConnected()) {
                final int t = getType();
                if (t == TYPE_SHARE || t == TYPE_FILESYSTEM) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbFile.java

         * @return the free disk space in bytes of the drive on which this file or
         * directory resides
         * @throws SmbException if an error occurs while retrieving disk space information
         */
        public long getDiskFreeSpace() throws SmbException {
            if (getType() == TYPE_SHARE || type == TYPE_FILESYSTEM) {
                int level = Trans2QueryFSInformationResponse.SMB_FS_FULL_SIZE_INFORMATION;
                try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
Back to top