Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for copy_to (0.91 sec)

  1. src/main/resources/fess_indices/fess/doc.json

    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Tue Aug 15 11:50:35 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            SmbFile targetFile = new SmbFile(baseUrl + "shared/" + targetFileName, renameContext);
    
            // Copy content to new file
            srcForCopy.copyTo(targetFile);
            srcForCopy.close();
            targetFile.close();
    
            // Wait before delete
            Thread.sleep(500);
            System.gc();
            Thread.sleep(200);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SmbResourceTest.java

                // Given
                SmbResource destination = mock(SmbResource.class);
    
                // When/Then
                assertDoesNotThrow(() -> mockResource.copyTo(destination), "Copy operation should not throw exception");
                verify(mockResource).copyTo(destination);
            }
    
            @Test
            @DisplayName("rename operations should work correctly")
            void testRenameTo() throws CIFSException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbCopyUtil.java

                        SmbConstants.FILE_NO_SHARE, attrs, 0);
            } catch (final SmbAuthException sae) {
                log.trace("copyTo0", sae);
                final int dattrs = dest.getAttributes();
                if ((dattrs & SmbConstants.ATTR_READONLY) != 0) {
                    /*
                     * Remove READONLY and try again
                     */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFile.java

                    : new URL(context.url, name + ((attributes & ATTR_DIRECTORY) > 0 ? "/" : "")));
    
            /* why was this removed before? DFS? copyTo? Am I going around in circles? */
            auth = context.auth;
    
            if (context.share != null) {
                this.tree = context.tree;
                this.dfsReferral = context.dfsReferral;
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/SmbResource.java

         * servers.
         *
         * @param dest
         *            the destination file or directory
         * @throws CIFSException if an error occurs accessing the resource
         */
        void copyTo(SmbResource dest) throws CIFSException;
    
        /**
         * Changes the name of the file this <code>SmbResource</code> represents to the name
         * designated by the <code>SmbResource</code> argument.
         * <br>
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  7. src/main/java/jcifs/smb/SmbFile.java

        }
    
        /**
         *
         */
        void clearAttributeCache() {
            this.attrExpiration = 0;
            this.sizeExpiration = 0;
        }
    
        @Override
        public void copyTo(final SmbResource d) throws SmbException {
            if (!(d instanceof final SmbFile dest)) {
                throw new SmbException("Invalid target resource");
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
Back to top