Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for 4shared (0.22 sec)

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

                log.debug("Adding key " + key + " to " + dr);
            }
    
            /*
             * Subtract the server and share from the pathConsumed so that
             * it reflects the part of the relative path consumed and not
             * the entire path.
             */
            dri.stripPathConsumed(1 + server.length() + 1 + share.length());
    
            if ( key.charAt(key.length() - 1) != '\\' ) {
                key += '\\';
            }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:07:29 GMT 2023
    - 29.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

        /**
         * 
         */
        public static final int SMB2_SHARE_CAP_DFS = 0x8;
    
        /**
         * 
         */
        public static final int SMB2_SHARE_CAP_CONTINUOUS_AVAILABILITY = 0x10;
    
        /**
         * 
         */
        public static final int SMB2_SHARE_CAP_SCALEOUT = 0x20;
    
        /**
         * 
         */
        public static final int SMB2_SHARE_CAP_CLUSTER = 0x40;
    
        /**
         * 
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon May 23 14:35:20 GMT 2022
    - 6.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/EnumTest.java

            try ( SmbFile smbFile = new SmbFile("smb://" + getRequiredProperty(TestProperties.TEST_DOMAIN_SHORT), ctx) ) {
                // if domain is resolved through DNS this will be treated as a server and will enumerate shares instead
                Assume.assumeTrue("Not workgroup", SmbConstants.TYPE_WORKGROUP == smbFile.getType());
                try ( CloseableIterator<SmbResource> it = smbFile.children() ) {
                    while ( it.hasNext() ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/FileAttributesTest.java

                        Assume.assumeTrue("No permission for share security accesss", false);
                    }
                    throw e;
                }
            }
        }
    
    
        @Test
        public void testShareSize () throws IOException {
            try ( SmbResource f = getDefaultShareRoot() ) {
                long l = f.length();
                Assume.assumeTrue("No share size reported", l != 0);
            }
        }
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

        private static final Logger log = LoggerFactory.getLogger(DfsReferralDataImpl.class);
    
        private int pathConsumed;
        private long ttl;
        private String server; // Server
        private String share; // Share
        private String link;
        private String path; // Path relative to tree from which this referral was thrown
    
        private long expiration;
        private int rflags;
    
        private boolean resolveHashes;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:13:49 GMT 2021
    - 11K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/OplockTests.java

                }
                else if ( trans.hasCapability(SmbConstants.CAP_NT_SMBS) ) {
                    int flags = SmbConstants.O_CREAT;
                    int sharing = SmbConstants.FILE_SHARE_DELETE | SmbConstants.FILE_SHARE_READ | SmbConstants.FILE_SHARE_WRITE;
                    int access = SmbConstants.FILE_READ_DATA | SmbConstants.FILE_READ_ATTRIBUTES | SmbConstants.FILE_WRITE_ATTRIBUTES
                            | SmbConstants.FILE_WRITE_DATA;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/FileOperationsTest.java

                  SmbResource f = new SmbFile(defaultShareRoot, makeRandomName());
                  SmbResource p = new SmbFile(getTestShareGuestURL(), getContext());
                  SmbResource tgt = new SmbFile(p, "other-share") ) {
                f.createNewFile();
                boolean renamed = false;
                try {
                    f.renameTo(tgt, true);
                    Assert.assertFalse("Should not be able to rename between trees", true);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:17:59 GMT 2023
    - 16.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFile.java

     *
     * <tr>
     * <td width="20%"><code>
     *  smb://host/share/a/b/
     * </code></td>
     * <td width="20%"><code>
     *  c/d/
     * </code></td>
     * <td><code>
     *  smb://host/share/a/b/c/d/
     * </code></td>
     * </tr>
     * 
     * <tr>
     * <td width="20%"><code>
     *  smb://host/share/foo/bar/
     * </code></td>
     * <td width="20%"><code>
     *  /share2/zig/zag
     * </code></td>
     * <td><code>
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTreeImpl.java

            }
            return SmbConstants.TYPE_SHARE;
        }
    
    
        /**
         * @return the service
         */
        public String getService () {
            return this.service;
        }
    
    
        /**
         * @return the share
         */
        public String getShare () {
            return this.share;
        }
    
    
        /**
         * @return whether this is a DFS share
         */
        public boolean isDfs () {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 29.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/ConcurrencyTest.java

                  SmbResource exclFile = new SmbFile(sr, fname) ) {
    
                try ( OutputStream s = exclFile.openOutputStream(false, SmbConstants.FILE_NO_SHARE);
                      InputStream is = exclFile.openInputStream(SmbConstants.FILE_NO_SHARE) ) {
                    fail("No sharing violation");
                }
                catch ( SmbException e ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 17:40:50 GMT 2021
    - 17.6K bytes
    - Viewed (0)
Back to top