Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SmbCopyUtil (0.04 sec)

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

     *
     * @author mbechler
     *
     */
    public final class SmbCopyUtil {
    
        private static final Logger log = LoggerFactory.getLogger(SmbCopyUtil.class);
    
        /**
         * Private constructor to prevent instantiation of utility class.
         */
        private SmbCopyUtil() {
        }
    
        /**
         * @param dest
         * @return
         * @throws SmbException
    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

            when(dest.openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt())).thenReturn(handle);
    
            int attrs = SmbConstants.ATTR_NORMAL;
    
            // Act
            SmbFileHandleImpl result = SmbCopyUtil.openCopyTargetFile(dest, attrs, alsoRead);
    
            // Assert
            assertSame(handle, result, "Should return handle from dest.openUnshared");
    
    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

                    }
                    SmbCopyUtil.copyDir(this, dest, b, bsize, w, sh, dh);
                } else {
                    // For files, ensure parent directory exists
                    SmbFile parent = new SmbFile(dest.getParent(), dest.getContext());
                    if (!parent.exists()) {
                        parent.mkdirs();
                    }
                    SmbCopyUtil.copyFile(this, dest, b, bsize, w, sh, dh);
    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