Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ignoreCopyToException (0.63 sec)

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

                when(ctx.getConfig()).thenReturn(cfg);
                return ctx;
            }
    
            @Test
            @DisplayName("copyFile wraps and throws when ignoreCopyToException=false")
            void copyFile_throwsWhenIgnoreFalse() throws Exception {
                // Arrange
                SmbFile src = mock(SmbFile.class, RETURNS_DEEP_STUBS);
                SmbFile dest = mock(SmbFile.class);
    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/config/BaseConfiguration.java

        /** Time in milliseconds before cached file attributes expire */
        protected long smbAttributeExpiration = 5000L;
        /** Whether to ignore exceptions during file copy operations */
        protected boolean ignoreCopyToException = false;
        /** Maximum number of request retries on failure */
        protected int maxRequestRetries = 2;
        /** Whether to trace resource usage for debugging */
        protected boolean traceResourceUsage;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFile.java

            }
            attrExpirationPeriod = Config.getLong("jcifs.smb1.smb.client.attrExpirationPeriod", DEFAULT_ATTR_EXPIRATION_PERIOD);
            ignoreCopyToException = Config.getBoolean("jcifs.smb1.smb.client.ignoreCopyToException", true);
            dfs = new Dfs();
        }
    
        /**
         * Returned by {@link #getType()} if the resource this {@code SmbFile}
         * represents is a regular file or directory.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/Configuration.java

         *
         * @return timeout of file attribute cache
         */
        long getAttributeCacheTimeout();
    
        /**
         *
         *
         * Property {@code jcifs.smb.client.ignoreCopyToException} (boolean, false)
         *
         * @return whether to ignore exceptions that occur during file copy
         */
        boolean isIgnoreCopyToException();
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
Back to top