- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for SmbFile (0.1 sec)
-
src/main/java/jcifs/smb1/smb1/SmbFile.java
* Changes the name of the file this <code>SmbFile</code> represents to the name * designated by the <code>SmbFile</code> argument. * * <i>Remember: <code>SmbFile</code>s are immutible and therefore * the path associated with this <code>SmbFile</code> object will not * change). To access the renamed file it is necessary to construct a * new {@code SmbFile}</i>. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 112.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
* resources are files and directories however an <code>SmbFile</code> * may also refer to servers and workgroups. If the resource is a file or * directory the methods of <code>SmbFile</code> follow the behavior of * the well known {@link java.io.File} class. One fundamental difference * is the usage of a URL scheme [1] to specify the target file or * directory. SmbFile URLs have the following syntax: * * <blockquote> *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 103.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
SmbFile verifySource = new SmbFile(baseUrl + "shared/" + sourceFileName, verifyContext); assertTrue(verifySource.exists(), "Source file should exist"); // Perform rename using copy+delete as this is more reliable with Docker/Samba CIFSContext renameContext = createFreshContext(); SmbFile srcForCopy = new SmbFile(baseUrl + "shared/" + sourceFileName, renameContext);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java
responseData.setUrl(filePath); SmbFile file = null; final SmbAuthentication smbAuthentication = smbAuthenticationHolder.get(filePath); if (logger.isDebugEnabled()) { logger.debug("Creating SmbFile: {} - {}", filePath, smbAuthentication); } try { if (smbAuthentication == null) { file = new SmbFile(filePath, cifsContext); } else {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Sep 18 09:30:45 UTC 2025 - 22.5K bytes - Viewed (0) -
README.md
### Basic Usage ```java import jcifs.CIFSContext; import jcifs.context.SingletonContext; import jcifs.smb.SmbFile; // Using default context CIFSContext context = SingletonContext.getInstance(); // Access a file (encryption is transparent - automatically used if server requires it) try (SmbFile file = new SmbFile("smb://server/share/file.txt", context)) { if (file.exists()) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 09:24:52 UTC 2025 - 6.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileDirectoryLeasingExtension.java
* * @param smbFile the SmbFile directory to list * @return array of SmbFile objects representing the directory contents * @throws SmbException if an error occurs */ public static SmbFile[] listFilesWithLeasing(SmbFile smbFile) throws SmbException { if (!smbFile.isDirectory()) { throw new SmbException("Not a directory: " + smbFile.getPath()); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java
} try { // Create SmbFile with cached attributes SmbFile file = new SmbFile(filePath, context); // Note: We would need to add a method to SmbFile to set cached attributes // For now, just return the file object return file; } catch (Exception e) { log.warn("Failed to create SmbFile for {}: {}", filePath, e.getMessage());Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java
import jcifs.Configuration; import jcifs.smb.SmbFile; /** * Unit tests for DirectoryLeaseManager */ public class DirectoryLeaseManagerTest { @Mock private CIFSContext context; @Mock private Configuration config; @Mock private LeaseManager baseLeaseManager; @Mock private SmbFile mockFile1; @Mock private SmbFile mockFile2;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 15.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Sep 18 09:30:45 UTC 2025 - 23K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NetworkExplorer.java
return; } } try { SmbFile file; if (ntlm != null) { file = new SmbFile("smb1:/" + pathInfo, ntlm); } else if (server == null) { file = new SmbFile("smb1://"); } else { file = new SmbFile("smb1:/" + pathInfo); } if (file.isDirectory()) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.6K bytes - Viewed (0)