- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 92 for SmbFile (0.05 seconds)
-
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. *
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.6K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/HandlerTest.java
@DisplayName("openConnection creates SmbFile for valid URL") void testOpenConnectionWithValidUrl() throws IOException { // Arrange - Create URL with handler URL url = new URL(null, "smb://host/share", handler); // Act URLConnection conn = handler.openConnection(url); // Assert assertNotNull(conn); assertTrue(conn instanceof SmbFile); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 5.4K bytes - Click Count (0) -
docs/SMB3_IMPLEMENTATION_PLAN.md
- [ ] Add lease context to Create request/response - [ ] Implement lease break notification handling - [ ] Modify SmbFile to support lease-based caching - [ ] Add lease upgrade/downgrade logic - [ ] Implement lease epoch tracking for v2 leases #### 1.3 Integration Points - Modify `Smb2CreateRequest` to include lease contexts - Update `SmbFile` caching logic to use leases - Add lease break handling in `SmbTransport` ---
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 10.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbFileFilter.java
* @param file the SMB file to test for inclusion * @return true if the file should be included, false otherwise * @throws SmbException if an error occurs while accessing the file */ boolean accept(SmbFile file) throws SmbException;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/DirFileEntryAdapterIterator.java
} /** * @param fe * @return * @throws MalformedURLException */ @Override protected SmbResource adapt(final FileEntry e) throws MalformedURLException { return new SmbFile(getParent(), e.getName(), true, SmbConstants.TYPE_FILESYSTEM, e.getAttributes(), e.createTime(), e.lastModified(), e.lastAccess(), e.length()); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 1.6K bytes - Click Count (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(final SmbFile file) throws SmbException { return (file.getAttributes() & this.attributes) != 0; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.5K bytes - Click Count (0) -
src/main/java/jcifs/smb/ShareEnumIterator.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 3.5K bytes - Click Count (0) -
docs/smb3-features/05-rdma-smb-direct-design.md
public void testRdmaLargeFileTransfer() throws Exception { CIFSContext context = getTestContext(); context.getConfig().setProperty("jcifs.smb.client.useRDMA", "true"); SmbFile file = new SmbFile("smb://server/share/largefile.dat", context); // Measure RDMA transfer performance byte[] data = new byte[10485760]; // 10MB Arrays.fill(data, (byte)0x42);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 35.9K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/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(final SmbFile file) throws SmbException { return (file.getAttributes() & attributes) != 0; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.5K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFileFilter.java
* * @param file the SMB file to test for inclusion * @return whether the given file should be included * @throws SmbException if an error occurs while accessing the file */ boolean accept(SmbFile file) 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)