Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for exists (0.23 sec)

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

            "The process cannot access the file because another process has locked a portion of the file.",
            "The disk is full.",
            "A duplicate name exists on the network.",
            "The network name cannot be found.",
            "ERRnomoreconn.",
            "The file exists.",
            "The parameter is incorrect.",
            "Too many Uids active on this session.",
            "The Uid is not known as a valid user identifier on this session.",
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 4.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/SessionTest.java

                checkConnection(f);
                f.resolve("test").exists();
            }
        }
    
    
        @Test
        public void transportReconnects () throws IOException {
            try ( SmbFile f = getDefaultShareRoot() ) {
                // transport disconnects can happen pretty much any time
                assertNotNull(f);
                f.connect();
                f.exists();
                assertNotNull(f);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 15.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbConstants.java

        static final int O_RDWR = 0x03;
        static final int O_APPEND = 0x04;
    
        // Open Function Encoding
        // create if the file does not exist
        static final int O_CREAT = 0x0010;
        // fail if the file exists
        static final int O_EXCL = 0x0020;
        // truncate if the file exists
        static final int O_TRUNC = 0x0040;
    
    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)
  4. src/main/java/jcifs/smb/DosError.java

            "The process cannot access the file because another process has locked a portion of the file.", "The disk is full.",
            "A duplicate name exists on the network.", "The network name cannot be found.", "ERRnomoreconn.", "The file exists.",
            "The parameter is incorrect.", "Too many Uids active on this session.", "The Uid is not known as a valid user identifier on this session.",
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 4.8K bytes
    - Viewed (1)
  5. src/main/java/jcifs/smb/NtStatus.java

            "There are currently no logon servers available to service the logon request.", "The specified user already exists.",
            "The specified user does not exist.", "The specified network password is not correct.", "Logon failure: unknown user name or bad password.",
            "Logon failure: user account restriction.", "Logon failure: account logon time restriction violation.",
    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/test/java/jcifs/tests/NamingTest.java

                    for ( String name : names ) {
                        URL u = new URL(purl, name);
                        try ( SmbResource tf = new SmbFile(u, d.getContext()) ) {
                            assertTrue("File exists " + u, tf.exists());
                            assertEquals(name, tf.getName());
                        }
                    }
                }
                finally {
                    d.delete();
                }
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jun 06 10:48:05 GMT 2020
    - 7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/EnumTest.java

                  SmbFile f = new SmbFile(r, "enum-test/a/b/c/") ) {
                f.exists();
            }
    
        }
    
    
        @Test
        public void testEnumDeepVirgin () throws IOException {
    
            try ( SmbFile r = getDefaultShareRoot();
                  SmbFile f = new SmbFile(r, "x-test/") ) {
                if ( !f.exists() ) {
                    f.mkdirs();
                }
            }
    
    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)
  8. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java

                    // create it if necessary
                    if ( ( flags & SmbConstants.O_EXCL ) == SmbConstants.O_EXCL ) {
                        // fail if already exists
                        this.openFunction = OPEN_FN_CREATE | OPEN_FN_FAIL_IF_EXISTS;
                    }
                    else {
                        this.openFunction = OPEN_FN_CREATE | OPEN_FN_OPEN;
                    }
                }
                else {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbFile.java

        static final int O_RDWR   = 0x03;
        static final int O_APPEND = 0x04;
    
        // Open Function Encoding
        // create if the file does not exist
        static final int O_CREAT  = 0x0010;
        // fail if the file exists
        static final int O_EXCL   = 0x0020;
        // truncate if the file exists
        static final int O_TRUNC  = 0x0040;
    
        // share access
    /**
     * When specified as the <tt>shareAccess</tt> constructor parameter,
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  10. src/main/java/jcifs/smb/NtlmUtil.java

            return ntResponse;
        }
    
    
        /**
         * Creates the LMv2 response for the supplied information.
         *
         * @param domain
         *            The domain in which the username exists.
         * @param user
         *            The username.
         * @param password
         *            The user's password.
         * @param challenge
         *            The server challenge.
         * @param clientChallenge
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 9.7K bytes
    - Viewed (0)
Back to top