Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for 4shared (0.45 sec)

  1. src/main/java/jcifs/dcerpc/DcerpcHandle.java

         * 
         * @param url
         * @param tc
         * @param unshared
         *            whether an exclusive connection should be used
         * @return a DCERPC handle for the given url
         * @throws MalformedURLException
         * @throws DcerpcException
         */
        public static DcerpcHandle getHandle ( String url, CIFSContext tc, boolean unshared ) throws MalformedURLException, DcerpcException {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jun 30 10:11:57 GMT 2019
    - 12.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

    <p>
    The second parameter specifies how the file should be shared. If
    <code>SmbFile.FILE_NO_SHARE</code> is specified the client will
    have exclusive access to the file. An additional open command
    from jCIFS or another application will fail with the "file is being
    accessed by another process" error. The <code>FILE_SHARE_READ</code>,
    <code>FILE_SHARE_WRITE</code>, and <code>FILE_SHARE_DELETE</code> may be
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 9.2K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. src/main/java/jcifs/smb1/smb1/SmbSession.java

            connectionState = 0;
        }
    
        synchronized SmbTree getSmbTree( String share, String service ) {
            SmbTree t;
    
            if( share == null ) {
                share = "IPC$";
            }
            for( Enumeration e = trees.elements(); e.hasMoreElements(); ) {
                t = (SmbTree)e.nextElement();
                if( t.matches( share, service )) {
                    return t;
                }
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 18.6K bytes
    - Viewed (0)
  7. 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)
  8. src/main/java/jcifs/dcerpc/msrpc/netdfs.java

                int _share_namep = _src.dec_ndr_long();
    
                if ( _server_namep != 0 ) {
                    _src = _src.deferred;
                    this.server_name = _src.dec_ndr_string();
    
                }
                if ( _share_namep != 0 ) {
                    _src = _src.deferred;
                    this.share_name = _src.dec_ndr_string();
    
                }
            }
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:40:13 GMT 2019
    - 16.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ntlmssp/NtlmFlags.java

        /**
         * Sent by the server in the Type 2 message to indicate that the
         * target authentication realm is a share (presumably for share-level
         * authentication).
         */
        public static final int NTLMSSP_TARGET_TYPE_SHARE = 0x00040000;
    
        /**
         * Indicates that the NTLM2 signing and sealing scheme should be used
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbFileInputStream.java

            this(file, 0, SmbConstants.O_RDONLY, SmbConstants.DEFAULT_SHARING, false);
        }
    
    
        SmbFileInputStream ( SmbFile file, int openFlags, int access, int sharing, boolean unshared ) throws SmbException {
            this.file = file;
            this.unsharedFile = unshared;
            this.openFlags = openFlags;
            this.access = access;
            this.sharing = sharing;
    
            try ( SmbTreeHandleInternal th = file.ensureTreeConnected() ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun May 17 08:55:14 GMT 2020
    - 13.2K bytes
    - Viewed (0)
Back to top