Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for directory (0.22 sec)

  1. src/test/java/jcifs/tests/EnumTest.java

                            names.add(next.getName());
                        }
                    }
                }
    
                assertTrue("Test directory  enum-test/a/b/c/ not found", names.contains("c/"));
            }
    
            try ( SmbFile r = getDefaultShareRoot();
                  SmbFile f = new SmbFile(r, "enum-test/a/b/c/") ) {
                f.exists();
            }
    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)
  2. src/main/java/jcifs/smb/SmbEnumerationUtil.java

            URL u = locator.getURL();
    
            FileEntry[] entries;
    
            if ( u.getPath().lastIndexOf('/') != ( u.getPath().length() - 1 ) )
                throw new SmbException(u.toString() + " directory must end with '/'");
    
            if ( locator.getType() != SmbConstants.TYPE_SERVER )
                throw new SmbException("The requested list operations is invalid: " + u.toString());
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jul 20 08:41:19 GMT 2019
    - 12.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbSession.java

            if( LOGON_SHARE == null ) {
                tree.treeConnect( null, null );
            } else {
                Trans2FindFirst2 req = new Trans2FindFirst2( "\\", "*", SmbFile.ATTR_DIRECTORY );
                Trans2FindFirst2Response resp = new Trans2FindFirst2Response();
                tree.send( req, resp );
            }
        }
    
        /* 0 - not connected
         * 1 - connecting
         * 2 - connected
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 18.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

         */
        public static final int FILE_OVERWRITE = 0x4;
        /**
         * 
         */
        public static final int FILE_OVERWRITE_IF = 0x5;
    
        /**
         * 
         */
        public static final int FILE_DIRECTORY_FILE = 0x1;
        /**
         * 
         */
        public static final int FILE_WRITE_THROUGH = 0x2;
        /**
         * 
         */
        public static final int FILE_SEQUENTIAL_ONLY = 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)
  5. src/main/java/jcifs/SmbResource.java

         * Tests to see if the file this <code>SmbResource</code> represents is not a directory.
         *
         * @return <code>true</code> if this <code>SmbResource</code> is not a directory
         * @throws CIFSException
         */
        boolean isFile () throws CIFSException;
    
    
        /**
         * Tests to see if the file this <code>SmbResource</code> represents is a directory.
         *
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Dec 20 14:09:34 GMT 2020
    - 26K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbCopyUtil.java

                        throw se;
                    }
                }
            }
    
            try ( CloseableIterator<SmbResource> it = SmbEnumerationUtil
                    .doEnum(src, "*", SmbConstants.ATTR_DIRECTORY | SmbConstants.ATTR_HIDDEN | SmbConstants.ATTR_SYSTEM, null, null) ) {
                while ( it.hasNext() ) {
                    try ( SmbResource r = it.next() ) {
                        try ( SmbFile ndest = new SmbFile(
    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)
  7. src/test/java/jcifs/tests/AllTests.java

                        loadConfigFile(config, applyMutations, configs);
                    }
                }
                catch ( IOException e ) {
                    log.error("Failed to load test config directory " + System.getProperty(TestProperties.TEST_CONFIG_DIR), e);
                }
            }
            else if ( System.getProperties().containsKey(TestProperties.TEST_CONFIG_FILE) ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 14.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

         * and simply return 0. These would need to be completed for a server
         * implementation.
         */
    
        static final byte SMB_COM_CREATE_DIRECTORY   = (byte)0x00;
        static final byte SMB_COM_DELETE_DIRECTORY   = (byte)0x01;
        static final byte SMB_COM_CLOSE              = (byte)0x04;
        static final byte SMB_COM_DELETE             = (byte)0x06;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 21K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

         * implementation.
         */
    
        /**
         * 
         */
        public static final byte SMB_COM_CREATE_DIRECTORY = (byte) 0x00;
    
        /**
         * 
         */
        public static final byte SMB_COM_DELETE_DIRECTORY = (byte) 0x01;
    
        /**
         * 
         */
        public static final byte SMB_COM_CLOSE = (byte) 0x04;
    
        /**
         * 
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 32.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

            case SMB2_CANCEL:
                c = "SMB2_CANCEL";
                break;
            case SMB2_ECHO:
                c = "SMB2_ECHO";
                break;
            case SMB2_QUERY_DIRECTORY:
                c = "SMB2_QUERY_DIRECTORY";
                break;
            case SMB2_CHANGE_NOTIFY:
                c = "SMB2_CHANGE_NOTIFY";
                break;
            case SMB2_QUERY_INFO:
                c = "SMB2_QUERY_INFO";
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Sep 30 10:47:31 GMT 2018
    - 19.9K bytes
    - Viewed (0)
Back to top