- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 68 for SmbFile (0.09 sec)
-
src/test/java/jcifs/tests/TimeoutTest.java
// use separate context here as the settings stick to the transport CIFSContext ctx = fastIdle(withTestNTLMCredentials(getNewContext())); try ( SmbFile r = new SmbFile(getTestShareURL(), ctx); SmbFile f = new SmbFile(r, makeRandomName()) ) { int soTimeout = ctx.getConfig().getSoTimeout(); f.createNewFile(); try { SmbTransportInternal t;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 12.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
* @param b * @param bsize * @param w * @param dh * @param sh * @param req * @param resp * @throws SmbException */ static void copyFile ( SmbFile src, SmbFile dest, byte[][] b, int bsize, WriterThread w, SmbTreeHandleImpl sh, SmbTreeHandleImpl dh ) throws SmbException { if ( sh.isSMB2() && dh.isSMB2() && sh.isSameTree(dh) ) { try {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 10:52:42 UTC 2020 - 17.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/DosFileFilter.java
* support filtering by all attributes (e.g. even though ATTR_DIRECTORY was * specified the server may still return objects that are not directories). */ @Override public boolean accept ( SmbFile file ) throws SmbException { return ( file.getAttributes() & this.attributes ) != 0; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TestLocking.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/SmbConstants.java
* represents is a server. */ static final int TYPE_SERVER = 0x04; /** * Returned by {@link jcifs.SmbResource#getType()} if the resource this <tt>SmbFile</tt> * represents is a share. */ static final int TYPE_SHARE = 0x08; /** * Returned by {@link jcifs.SmbResource#getType()} if the resource this <tt>SmbFile</tt>
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NetServerEnum2Response.java
public String getName() { return name; } public int getType() { return (type & 0x80000000) != 0 ? SmbFile.TYPE_WORKGROUP : SmbFile.TYPE_SERVER; } public int getAttributes() { return SmbFile.ATTR_READONLY | SmbFile.ATTR_DIRECTORY; } public long createTime() { return 0L; } public long lastModified() {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 4.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
this(new SmbFile(url, tc), 0, SmbConstants.O_RDONLY, SmbConstants.DEFAULT_SHARING, true); } /** * Creates an {@link java.io.InputStream} for reading bytes from a file on * an SMB server represented by the {@link jcifs.smb.SmbFile} parameter. See * {@link jcifs.smb.SmbFile} for a detailed description and examples of * the smb URL syntax. *
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun May 17 08:55:14 UTC 2020 - 13.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/NetServerFileEntryAdapterIterator.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileFilter.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb1.smb1; public interface SmbFileFilter { public boolean accept( SmbFile file ) throws SmbException;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 974 bytes - Viewed (0) -
src/main/java/jcifs/smb/DirFileEntryAdapterIterator.java
} /** * @param fe * @return * @throws MalformedURLException */ @Override protected SmbResource adapt ( FileEntry e ) throws MalformedURLException { return new SmbFile( getParent(), e.getName(), true, SmbConstants.TYPE_FILESYSTEM, e.getAttributes(), e.createTime(), e.lastModified(),
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.7K bytes - Viewed (0)