Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for exists (0.2 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/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)
  3. 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)
  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/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)
  6. 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)
  7. src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java

                    // create it if necessary
                    if(( flags & SmbFile.O_EXCL ) == SmbFile.O_EXCL ) {
                        // 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;
    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)
  8. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        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 PID = (int)( Math.random() * 65536d );
    
        static final int SECURITY_SHARE = 0x00;
        static final int SECURITY_USER  = 0x01;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java

        /* 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)
  10. src/main/java/jcifs/Config.java

         * 
         * <blockquote>
         */
        public static void registerSmbURLHandler () {
            SingletonContext.registerSmbURLHandler();
        }
    
    
        /**
         * Retrieve an <code>int</code>. If the key does not exist or
         * cannot be converted to an <code>int</code>, the provided default
         * argument will be returned.
         */
        public static int getInt ( Properties props, String key, int def ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.3K bytes
    - Viewed (0)
Back to top