Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for openFlags (0.09 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

                throws SmbException, MalformedURLException, UnknownHostException {
            this.file = file;
            if( mode.equals( "r" )) {
                this.openFlags = SmbFile.O_CREAT | SmbFile.O_RDONLY;
            } else if( mode.equals( "rw" )) {
                this.openFlags = SmbFile.O_CREAT | SmbFile.O_RDWR | SmbFile.O_APPEND;
                write_andx_resp = new SmbComWriteAndXResponse();
                options = WRITE_OPTIONS;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

                        this.handle = this.pipe.openUnshared(this.openFlags, this.access, this.sharing, SmbConstants.ATTR_NORMAL, 0);
                    }
                    else {
                        // at least on samba, SmbComOpenAndX fails without the pipe prefix
                        this.handle = this.pipe
                                .openUnshared("\\pipe" + getUncPath(), this.openFlags, this.access, this.sharing, SmbConstants.ATTR_NORMAL, 0);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Apr 13 17:05:22 UTC 2020
    - 10.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFileOutputStream.java

                0,
                SmbConstants.DEFAULT_SHARING);
        }
    
    
        SmbFileOutputStream ( SmbFile file, boolean append, int openFlags, int access, int sharing ) throws SmbException {
            this.file = file;
            this.append = append;
            this.openFlags = openFlags;
            this.sharing = sharing;
            this.access = access | SmbConstants.FILE_WRITE_DATA;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:14:04 UTC 2021
    - 11.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

        }
    
        SmbFileOutputStream( SmbFile file, boolean append, int openFlags ) throws SmbException, MalformedURLException, UnknownHostException {
            this.file = file;
            this.append = append;
            this.openFlags = openFlags;
            this.access = (openFlags >>> 16) & 0xFFFF;
            if( append ) {
                try {
                    fp = file.length();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 9.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

        }
    
        SmbFileInputStream( SmbFile file, int openFlags ) throws SmbException, MalformedURLException, UnknownHostException {
            this.file = file;
            this.openFlags = openFlags & 0xFFFF;
            this.access = (openFlags >>> 16) & 0xFFFF;
            if (file.type != SmbFile.TYPE_NAMED_PIPE) {
                file.open( openFlags, access, SmbFile.ATTR_NORMAL, 0 );
                this.openFlags &= ~(SmbFile.O_CREAT | SmbFile.O_TRUNC);
            } else {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7.9K bytes
    - Viewed (0)
  6. 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() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 08:55:14 UTC 2020
    - 13.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

        private static final Logger log = LoggerFactory.getLogger(Smb2CreateResponse.class);
    
        private byte oplockLevel;
        private byte openFlags;
        private int createAction;
        private long creationTime;
        private long lastAccessTime;
        private long lastWriteTime;
        private long changeTime;
        private long allocationSize;
        private long endOfFile;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                if ( mode.equals("r") ) {
                    this.openFlags = SmbConstants.O_CREAT | SmbConstants.O_RDONLY;
                    this.access = SmbConstants.FILE_READ_DATA;
                }
                else if ( mode.equals("rw") ) {
                    this.openFlags = SmbConstants.O_CREAT | SmbConstants.O_RDWR | SmbConstants.O_APPEND;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 12:01:33 UTC 2020
    - 18.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SmbResource.java

    
        /**
         * Opens an output stream writing to the file (write only, exclusive write access)
         * 
         * @param append
         *            whether to append to or truncate the input
         * @param openFlags
         *            flags for open operation
         * @param access
         *            desired file access flags
         * @param sharing
         *            flags indicating for which operations others may open the file
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 26K bytes
    - Viewed (1)
  10. src/main/java/jcifs/smb/SmbFile.java

        }
    
    
        @Override
        public SmbFileOutputStream openOutputStream ( boolean append, int openFlags, int access, int sharing ) throws SmbException {
            return new SmbFileOutputStream(this, append, openFlags, access, sharing);
        }
    
    
        @Override
        public SmbRandomAccessFile openRandomAccess ( String mode ) throws SmbException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
Back to top