Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 41 for Attributes (0.23 sec)

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

            try {
                return dest.openUnshared(
                    SmbConstants.O_CREAT | SmbConstants.O_WRONLY | SmbConstants.O_TRUNC,
                    SmbConstants.FILE_WRITE_DATA | SmbConstants.FILE_WRITE_ATTRIBUTES | ( alsoRead ? SmbConstants.FILE_READ_DATA : 0 ),
                    SmbConstants.FILE_NO_SHARE,
                    attrs,
                    0);
            }
            catch ( SmbAuthException sae ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 17.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/OplockTests.java

                    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;
                    int attrs = 0;
                    int options = 0;
                    String uncPath = "foo-oplock";
    
    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)
  3. src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java

        public static class SamrRidWithAttribute extends NdrObject {
    
            public int rid;
            public int attributes;
    
            public void encode(NdrBuffer _dst) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_long(rid);
                _dst.enc_ndr_long(attributes);
    
            }
            public void decode(NdrBuffer _src) throws NdrException {
                _src.align(4);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 14K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java

            create.setCreateOptions(Smb2CreateRequest.FILE_DIRECTORY_FILE);
            create.setDesiredAccess(SmbConstants.FILE_READ_DATA | SmbConstants.FILE_READ_ATTRIBUTES);
            Smb2QueryDirectoryRequest query = new Smb2QueryDirectoryRequest(th.getConfig());
            query.setFileName(getWildcard());
            create.chain(query);
            Smb2CreateResponse createResp;
            try {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Dec 20 16:15:08 GMT 2020
    - 5.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java

            super( andx );
            this.path = name;
            command = SMB_COM_NT_CREATE_ANDX;
    
            desiredAccess = access;
            desiredAccess |= FILE_READ_DATA | FILE_READ_EA | FILE_READ_ATTRIBUTES;
    
            // extFileAttributes
            this.extFileAttributes = extFileAttributes;
    
            // shareAccess
            this.shareAccess = shareAccess;
    
            // createDisposition
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 6.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/config/BaseConfiguration.java

                this.nativeOs = System.getProperty("os.name");
            }
    
            if ( this.flags2 == 0 ) {
                this.flags2 = SmbConstants.FLAGS2_LONG_FILENAMES | SmbConstants.FLAGS2_EXTENDED_ATTRIBUTES
                        | ( this.useExtendedSecurity ? SmbConstants.FLAGS2_EXTENDED_SECURITY_NEGOTIATION : 0 )
                        | ( this.signingPreferred ? SmbConstants.FLAGS2_SECURITY_SIGNATURES : 0 )
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 20.4K bytes
    - Viewed (1)
  7. src/main/java/jcifs/smb/SmbFile.java

                            context.getLocator().getURL(),
                            encodeRelativePath(checkName(name)) + ( ( attributes & ATTR_DIRECTORY ) > 0 ? "/" : "" )),
                context.getContext());
    
            if ( !isWorkgroup(context) ) {
                setContext(context, name + ( ( attributes & ATTR_DIRECTORY ) > 0 ? "/" : "" ));
            }
    
            /*
             * why? am I going around in circles?
    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)
  8. src/main/java/jcifs/pac/PacSidAttributes.java

    public class PacSidAttributes {
    
        private SID id;
        private int attributes;
    
    
        public PacSidAttributes ( SID id, int attributes ) {
            super();
            this.id = id;
            this.attributes = attributes;
        }
    
    
        public SID getId () {
            return this.id;
        }
    
    
        public int getAttributes () {
            return this.attributes;
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/DosFileFilter.java

         * @param attributes
         */
        public DosFileFilter ( String wildcard, int attributes ) {
            this.wildcard = wildcard;
            this.attributes = attributes;
        }
    
    
        /**
         * This returns true if the file's attributes contain any of the attributes
         * specified for this filter. The wildcard has no influence on this
         * method as the server should have performed that filtering already. The
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/SmbResource.java

    
        /**
         * Set the attributes of this file. Attributes are composed into a
         * bitset by bitwise ORing the <tt>ATTR_*</tt> constants. Setting the
         * value returned by <tt>getAttributes</tt> will result in both files
         * having the same attributes.
         * 
         * @param attrs
         *            attribute flags
         * 
         * @throws CIFSException
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Dec 20 14:09:34 GMT 2020
    - 26K bytes
    - Viewed (0)
Back to top