Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 57 for open (0.13 sec)

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

                return 0;
            }
            long start = fp;
    
            if( tmp == null ) {
                throw new IOException( "Bad file descriptor" );
            }
            // ensure file is open
            file.open( openFlags, access, SmbFile.ATTR_NORMAL, 0 );
    
            /*
             * Read AndX Request / Response
             */
    
            if( file.log.level >= 4 )
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java

                        // fail if already exists
                        openFunction = OPEN_FN_CREATE | OPEN_FN_FAIL_IF_EXISTS;
                    } else {
                        openFunction = OPEN_FN_CREATE | OPEN_FN_OPEN;
                    }
                } else {
                    openFunction = OPEN_FN_OPEN;
                }
            }
        }
    
        int getBatchLimit( byte command ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 5.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java

        static final int FILE_SUPERSEDE    = 0x0;
    
        /* Open the file or fail if it does not exist
         * aka OPEN_EXISTING
         */
    
        static final int FILE_OPEN         = 0x1;
    
        /* Create the file or fail if it does not exist
         * aka CREATE_NEW
         */
    
        static final int FILE_CREATE       = 0x2;
    
        /* Open the file or create it if it does not exist
         * aka OPEN_ALWAYS
         */
    
    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)
  4. src/main/java/jcifs/smb/SmbFileInputStream.java

            }
        }
    
    
        /**
         * Ensures that the file descriptor is openend
         * 
         * @throws CIFSException
         */
        public void open () throws CIFSException {
            try ( SmbFileHandleImpl fh = ensureOpen() ) {}
        }
    
    
        /**
         * @param file
         * @param openFlags
         * @return
         * @throws SmbException
         */
    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)
  5. src/main/java/jcifs/smb/NtStatus.java

            "The pipe state is invalid.", "All pipe instances are busy.", "No process is on the other end of the pipe.", "The pipe is being closed.",
            "Waiting for a process to open the other end of the pipe.", "File is a directory.", "A duplicate name exists on the network.",
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jun 01 10:09:29 GMT 2019
    - 11.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

         * 
         */
        public static final int FILE_SUPERSEDE = 0x0;
        /**
         * 
         */
        public static final int FILE_OPEN = 0x1;
        /**
         * 
         */
        public static final int FILE_CREATE = 0x2;
        /**
         * 
         */
        public static final int FILE_OPEN_IF = 0x3;
        /**
         * 
         */
        public static final int FILE_OVERWRITE = 0x4;
        /**
         * 
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jun 01 09:52:11 GMT 2019
    - 14.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/SmbFileHandle.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs;
    
    
    /**
     * Handle to an open file
     * 
     * @author mbechler
     *
     */
    public interface SmbFileHandle extends AutoCloseable {
    
        /**
         * @return the tree
         */
        SmbTreeHandle getTree ();
    
    
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

         * @see jcifs.SmbPipeHandle#isStale()
         */
        @Override
        public boolean isStale () {
            return !this.open || ( this.handle != null && !this.handle.isValid() );
        }
    
    
        @Override
        public synchronized SmbFileHandleImpl ensureOpen () throws CIFSException {
            if ( !this.open ) {
                throw new SmbException("Pipe handle already closed");
            }
    
            if ( !isOpen() ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Apr 13 17:05:22 GMT 2020
    - 10.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SmbConstants.java

        static final int FLAGS_COPY_SOURCE_MODE_ASCII = 0x0008;
        static final int FLAGS_VERIFY_ALL_WRITES = 0x0010;
        static final int FLAGS_TREE_COPY = 0x0020;
    
        // open function
        static final int OPEN_FUNCTION_FAIL_IF_EXISTS = 0x0000;
        static final int OPEN_FUNCTION_OVERWRITE_IF_EXISTS = 0x0020;
    
        static final int SECURITY_SHARE = 0x00;
        static final int SECURITY_USER = 0x01;
    
        static final int CMD_OFFSET = 4;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/OplockTests.java

                    create.setRequestedOplockLevel(Smb2CreateRequest.SMB2_OPLOCK_LEVEL_BATCH);
    
                    tree.send(create);
    
                    Smb2CreateRequest create2 = new Smb2CreateRequest(sess.getConfig(), "\\foocc");
                    create2.setOverrideTimeout(1000);
                    create2.setCreateDisposition(Smb2CreateRequest.FILE_OPEN_IF);
    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)
Back to top