Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getUNCPath (0.08 sec)

  1. src/main/java/jcifs/smb/SmbTreeConnection.java

                    }
                }
            }
    
            final String hostName = loc.getServerWithDfs();
            final String path = loc.getType() == SmbConstants.TYPE_SHARE || loc.getUNCPath() == null || "\\".equals(loc.getUNCPath()) ? null
                    : loc.getUNCPath();
            String share = loc.getShare();
    
            final DfsReferralData start = referral != null ? referral : this.ctx.getDfs().resolve(this.ctx, hostName, loc.getShare(), path);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (1)
  2. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

            this.openFlags = pipe.getPipeType() & 0xFFFF00FF | SmbConstants.O_EXCL;
            this.access = pipe.getPipeType() & 7 | 0x20000;
            this.uncPath = this.pipe.getUncPath();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbPipeHandle#unwrap(java.lang.Class)
         */
        @SuppressWarnings("unchecked")
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFile.java

        }
    
        /**
         * Returns the UNC path of this resource relative to the share
         *
         * @return this file's unc path below the share
         */
        public String getUncPath() {
            return this.fileLocator.getUNCPath();
        }
    
        /**
         * Customizes the NT create request and response for subclass-specific behavior
         *
         * @param request the create request to customize
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFile.java

         * represents is a communications device.
         */
        public static final int TYPE_COMM = 0x40;
    
        private String canon; // Initially null; set by getUncPath; dir must end with '/'
        private String share; // Can be null
        private long createTime;
        private long lastModified;
        private int attributes;
        private long attrExpiration;
        private long size;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

        }
    
        @Test
        void testUNCPath() throws Exception {
            SmbFile file = new SmbFile(baseUrl + "shared/unc.txt", context);
            String uncPath = file.getUncPath();
    
            assertNotNull(uncPath, "UNC path should not be null");
            log.info("UNC path: {}", uncPath);
            // Be more flexible about UNC path format - different implementations may vary
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
Back to top