- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for attr (0.22 sec)
-
src/main/java/jcifs/smb/SmbPipeHandleImpl.java
} else { // at least on samba, SmbComOpenAndX fails without the pipe prefix this.handle = this.pipe .openUnshared("\\pipe" + getUncPath(), this.openFlags, this.access, this.sharing, SmbConstants.ATTR_NORMAL, 0); }
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) -
src/test/java/jcifs/tests/FileAttributesTest.java
try { int attrs = f.getAttributes() ^ SmbConstants.ATTR_ARCHIVE ^ SmbConstants.ATTR_HIDDEN ^ SmbConstants.ATTR_READONLY; if ( Boolean.parseBoolean(getProperties().getOrDefault("test.skip.hidden", "false")) ) { attrs &= ~SmbConstants.ATTR_HIDDEN; } f.setAttributes(attrs); assertEquals(attrs, f.getAttributes()); }
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:09:03 GMT 2023 - 12.3K bytes - Viewed (0) -
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( dest,
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) -
src/test/java/jcifs/tests/EnumTest.java
try { b.setAttributes(SmbConstants.ATTR_HIDDEN); haveHidden = true; } catch ( SmbUnsupportedOperationException e ) {} c.createNewFile(); boolean haveArchive = false; try { c.setAttributes(SmbConstants.ATTR_ARCHIVE); haveArchive = true; }
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) -
src/main/java/jcifs/smb/SmbFileInputStream.java
this.sharing, SmbConstants.ATTR_NORMAL, 0); } else { this.handle = this.file.openUnshared(this.openFlags, this.access, this.sharing, SmbConstants.ATTR_NORMAL, 0).acquire(); } return this.handle; } return this.handle.acquire(); }
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun May 17 08:55:14 GMT 2020 - 13.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
if ( !isOpen() ) { // one extra acquire to keep this open till the stream is released this.handle = this.file.openUnshared(this.openFlags, this.access, this.sharing, SmbConstants.ATTR_NORMAL, 0).acquire(); if ( this.append ) { this.fp = this.handle.getInitialSize(); if ( log.isDebugEnabled() ) { log.debug("File pointer is at " + this.fp);
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sat Nov 13 15:14:04 GMT 2021 - 11.9K bytes - Viewed (0) -
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
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) -
src/main/java/jcifs/SmbResource.java
* bitset by bitwise ORing the <tt>ATTR_*</tt> constants. Setting the * value returned by <tt>getAttributes</tt> will result in both files * having the same attributes. * * @param attrs * attribute flags * * @throws CIFSException */ void setAttributes ( int attrs ) throws CIFSException; /**
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Dec 20 14:09:34 GMT 2020 - 26K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
access = SmbConstants.FILE_READ_DATA | SmbConstants.FILE_WRITE_DATA; } else { throw new IllegalArgumentException( "Invalid mode" ); } file.open( openFlags, access, SmbFile.ATTR_NORMAL, options ); readSize = file.tree.session.transport.rcv_buf_size - 70; writeSize = file.tree.session.transport.snd_buf_size - 70; fp = 0L; } public int read() throws SmbException {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 10.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
// one extra acquire to keep this open till the stream is released this.handle = this.file.openUnshared(this.openFlags, this.access, this.sharing, SmbConstants.ATTR_NORMAL, this.options).acquire(); return this.handle; } return this.handle.acquire(); } /** * Ensures that the file descriptor is openend *
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Wed Jan 08 12:01:33 GMT 2020 - 18.5K bytes - Viewed (0)