Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for getUNCPath (0.22 sec)

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

                assertEquals("\\foo\\", fl.getUNCPath());
                // this intentionally sticks to the old name
                assertEquals("/share/foo/", fl.getURLPath());
    
                try ( SmbResource c = p.resolve("bar/") ) {
                    SmbResourceLocator fl2 = c.getLocator();
                    reqPath = fl2.getUNCPath();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 08 13:16:07 GMT 2020
    - 23K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

        private final URL url;
    
        private DfsReferralData dfsReferral = null; // For getDfsPath() and getServerWithDfs()
    
        private String unc; // Initially null; set by getUncPath; never ends with '/'
        private String canon; // Initially null; set by getUncPath; dir must end with '/'
        private String share; // Can be null
    
        private Address[] addresses;
        private int addressIndex;
        private int type;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jul 20 08:24:53 GMT 2019
    - 23.9K bytes
    - Viewed (0)
  3. 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
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Apr 13 17:05:22 GMT 2020
    - 10.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFile.java

                this.isExists = true;
                return fh;
            }
        }
    
    
        /**
         * @return this file's unc path below the share
         */
        public String getUncPath () {
            return this.fileLocator.getUNCPath();
        }
    
    
        /**
         * @param request
         * @param response
         */
        protected void customizeCreate ( SmbComNTCreateAndX request, SmbComNTCreateAndXResponse response ) {}
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTreeConnection.java

                    }
                }
            }
    
            String hostName = loc.getServerWithDfs();
            String path = ( loc.getType() == SmbConstants.TYPE_SHARE || loc.getUNCPath() == null || "\\".equals(loc.getUNCPath()) ) ? null
                    : loc.getUNCPath();
            String share = loc.getShare();
    
            DfsReferralData start = referral != null ? referral : this.ctx.getDfs().resolve(this.ctx, hostName, loc.getShare(), path);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:50:16 GMT 2020
    - 31K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java

        }
    
    
        @SuppressWarnings ( "resource" )
        @Override
        protected final FileEntry open () throws CIFSException {
            SmbResourceLocator loc = this.getParent().getLocator();
            String unc = loc.getUNCPath();
            String p = loc.getURL().getPath();
            if ( p.lastIndexOf('/') != ( p.length() - 1 ) ) {
                throw new SmbException(loc.getURL() + " directory must end with '/'");
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:13:49 GMT 2021
    - 5.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbPipeInputStream.java

                    return ((SrvPipePeekResponse)resp.getOutputData()).getReadDataAvailable();
                }
                TransPeekNamedPipe req = new TransPeekNamedPipe(th.getConfig(), this.handle.getUncPath(), fd.getFid());
                TransPeekNamedPipeResponse resp = new TransPeekNamedPipeResponse(th.getConfig());
                th.send(req, resp, RequestParam.NO_RETRY);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 07:12:23 GMT 2018
    - 3.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbCopyUtil.java

                            new Trans2SetFileInformationResponse(dh.getConfig()));
                    }
                    else {
                        dh.send(
                            new SmbComSetInformation(dh.getConfig(), dest.getUncPath(), attrs, mtime),
                            new SmbComSetInformationResponse(dh.getConfig()));
                    }
                }
            }
            catch ( IOException se ) {
    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)
  9. src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java

         */
        @SuppressWarnings ( "resource" )
        @Override
        protected FileEntry open () throws CIFSException {
            SmbTreeHandleImpl th = getTreeHandle();
            String uncPath = getParent().getLocator().getUNCPath();
            Smb2CreateRequest create = new Smb2CreateRequest(th.getConfig(), uncPath);
            create.setCreateOptions(Smb2CreateRequest.FILE_DIRECTORY_FILE);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Dec 20 16:15:08 GMT 2020
    - 5.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/SmbResourceLocator.java

         */
        String getCanonicalURL ();
    
    
        /**
         * @return The canonicalized UNC path of this SMB resource (relative to it's share)
         */
        String getUNCPath ();
    
    
        /**
         * @return The canonicalized URL path (relative to the server/domain)
         */
        String getURLPath ();
    
    
        /**
         * Retrieves the share associated with this SMB resource. In
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.6K bytes
    - Viewed (0)
Back to top