Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 92 for SmbFile (0.59 seconds)

  1. docs/smb3-features/01-smb3-lease-design.md

        if (isV2) {
            leaseContext.setEpoch(1);
            // Set parent lease key if available
        }
        addCreateContext(leaseContext);
    }
    ```
    
    ### 6.2 Modifying SmbFile
    ```java
    // In SmbFile.java
    private Smb2LeaseKey leaseKey;
    private int leaseState;
    private LeaseManager leaseManager;
    
    protected void doConnect() throws IOException {
        // ... existing connection logic ...
        
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 22K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/SmbFilenameFilter.java

         * @param name the name of the file
         * @return whether the given filename should be included
         * @throws SmbException if an SMB error occurs during evaluation
         */
        boolean accept(SmbFile dir, String name) throws SmbException;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFilenameFilter.java

         * @param name the name of the file
         * @return true if the file should be included, false otherwise
         * @throws SmbException if an SMB error occurs during evaluation
         */
        boolean accept(SmbFile dir, String name) throws SmbException;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java

            // shareAccess
            this.shareAccess = shareAccess;
    
            // createDisposition
            if ((flags & SmbFile.O_TRUNC) == SmbFile.O_TRUNC) {
                // truncate the file
                if ((flags & SmbFile.O_CREAT) == SmbFile.O_CREAT) {
                    // create it if necessary
                    createDisposition = FILE_OVERWRITE_IF;
                } else {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/smb1/Handler.java

        @Override
        protected int getDefaultPort() {
            return SmbConstants.DEFAULT_PORT;
        }
    
        @Override
        public URLConnection openConnection(final URL u) throws IOException {
            return new SmbFile(u);
        }
    
        @Override
        protected void parseURL(final URL u, String spec, final int start, int limit) {
            final String host = u.getHost();
            String path, ref;
            int port;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java

     * Named Pipes</a> for a detailed description of how to use jCIFS with
     * Win32 Named Pipe server processes.
     *
     */
    
    public class SmbNamedPipe extends SmbFile {
    
        /**
         * The pipe should be opened read-only.
         */
    
        public static final int PIPE_TYPE_RDONLY = O_RDONLY;
    
        /**
         * The pipe should be opened only for writing.
         */
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/NetServerEnumIteratorTest.java

        private SmbResourceLocator locator;
        @Mock
        private SmbTreeHandleImpl treeHandle;
        @Mock
        private Configuration config;
        @Mock
        private ResourceNameFilter nameFilter;
    
        private SmbFile parent;
    
        @BeforeAll
        static void setupURLHandler() {
            // Register the SMB URL handler to avoid MalformedURLException
            String pkgs = System.getProperty("java.protocol.handler.pkgs");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  8. src/main/java/jcifs/context/CIFSContextWrapper.java

    import jcifs.DfsResolver;
    import jcifs.NameServiceClient;
    import jcifs.SidResolver;
    import jcifs.SmbPipeResource;
    import jcifs.SmbResource;
    import jcifs.SmbTransportPool;
    import jcifs.smb.Handler;
    import jcifs.smb.SmbFile;
    import jcifs.smb.SmbNamedPipe;
    
    /**
     * A wrapper implementation of CIFSContext that delegates to another context.
     * This class allows for context decoration and customization through delegation.
     *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/Handler.java

        }
    
        @Override
        public URLConnection openConnection(final URL u) throws IOException {
            if (log.isDebugEnabled()) {
                log.debug("Opening file " + u);
            }
            return new SmbFile(u, getTransportContext());
        }
    
        /**
         * @return
         */
        private CIFSContext getTransportContext() {
            if (this.transportContext == null) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java

         */
        private volatile boolean reconnecting;
    
        // Not serialized - will be null after deserialization
        private transient Object file; // Reference to SmbFile (avoid circular dependencies)
    
        /**
         * Create new handle information
         * @param path the file path
         * @param guid the create GUID
         * @param fileId the 16-byte file ID
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 5.9K bytes
    - Click Count (0)
Back to Top