Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for copyFile (0.33 sec)

  1. src/test/java/jcifs/smb/SmbCopyUtilTest.java

                SmbException ex =
                        assertThrows(SmbException.class, () -> SmbCopyUtil.copyFile(src, dest, buffers, 8, new WriterThread(), sh, dh));
                assertTrue(ex.getMessage().contains("smb://src"));
                assertTrue(ex.getMessage().contains("smb://dest"));
            }
    
            @Test
            @DisplayName("copyFile swallows when ignoreCopyToException=true")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbCopyUtil.java

        /**
         * @param dest
         * @param b
         * @param bsize
         * @param w
         * @param dh
         * @param sh
         * @param req
         * @param resp
         * @throws SmbException
         */
        static void copyFile(final SmbFile src, final SmbFile dest, final byte[][] b, final int bsize, final WriterThread w,
                final SmbTreeHandleImpl sh, final SmbTreeHandleImpl dh) 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)
  3. src/main/java/jcifs/smb/SmbFile.java

                    SmbFile parent = new SmbFile(dest.getParent(), dest.getContext());
                    if (!parent.exists()) {
                        parent.mkdirs();
                    }
                    SmbCopyUtil.copyFile(this, dest, b, bsize, w, sh, dh);
                }
    
                dest.clearAttributeCache();
            } catch (SmbException e) {
                throw new CIFSException("Failed to copy resource: " + e.getMessage(), e);
    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