Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for setPathInformation (0.08 sec)

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

                try {
                    dest.mkdir();
                    if (dh.hasCapability(SmbConstants.CAP_NT_SMBS)) {
                        dest.setPathInformation(src.getAttributes(), src.createTime(), src.lastModified(), src.lastAccess());
                    } else {
                        dest.setPathInformation(src.getAttributes(), 0L, src.lastModified(), 0L);
                    }
                } catch (final SmbUnsupportedOperationException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbCopyUtilTest.java

            // Assert
            assertSame(handle, result, "Should return handle after retry");
            // Verify we removed READONLY on the path before retrying
            verify(dest).setPathInformation(currentAttrs & ~SmbConstants.ATTR_READONLY, 0L, 0L, 0L);
            verify(dest, times(2)).openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFile.java

                        fd.close(0L);
                    }
                }
            } catch (final CIFSException e) {
                throw SmbException.wrap(e);
            }
        }
    
        void setPathInformation(final int attrs, final long ctime, final long mtime, final long atime) throws CIFSException {
            try (SmbTreeHandleImpl th = ensureTreeConnected()) {
                if (!exists()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFile.java

                SmbFile ndest;
    
                final String path = dest.getUncPath0();
                if (path.length() > 1) {
                    try {
                        dest.mkdir();
                        dest.setPathInformation(attributes, createTime, lastModified);
                    } catch (final SmbException se) {
                        if (se.getNtStatus() != NtStatus.NT_STATUS_ACCESS_DENIED
    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