- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for SmbFile (0.12 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. * <p/> * <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 <tt>SmbFile</tt></i>. *
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Mar 13 12:00:57 UTC 2023 - 107.9K 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 Nov 03 00:10:13 UTC 2024 - Last Modified: Thu May 23 01:50:13 UTC 2024 - 82.3K 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); } try { if (smbAuthentication == null) { file = new SmbFile(filePath, cifsContext); } else {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu May 23 01:54:36 UTC 2024 - 17.9K bytes - Viewed (0) -
src/test/java/jcifs/tests/ContextConfigTest.java
try ( SmbFile f = new SmbFile("smb://foo:b%40r@127.0.0.1/") ) { Assert.assertEquals("foo:b%40r", f.getLocator().getURL().getUserInfo()); NtlmPasswordAuthenticator na = f.getContext().getCredentials().unwrap(NtlmPasswordAuthenticator.class); Assert.assertEquals("b@r", na.getPassword()); } try ( SmbFile f = new SmbFile(new URL("smb://foo:b%40r@127.0.0.1/")) ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Mar 13 12:00:57 UTC 2023 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/tests/EnumTest.java
try ( SmbFile f = createTestDirectory() ) { try ( SmbFile a = new SmbFile(f, "a.txt"); SmbFile b = new SmbFile(f, "b.txt"); SmbFile c = new SmbFile(f, "c.bar") ) { a.createNewFile(); b.createNewFile(); c.createNewFile(); SmbFile[] files = f.listFiles(new DosFileFilter("*.txt", -1));
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:09:03 UTC 2023 - 25.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/FileOperationsTest.java
@Test public void testMoveFile () throws CIFSException, MalformedURLException, UnknownHostException { try ( SmbFile defaultShareRoot = getDefaultShareRoot(); SmbFile d = createTestDirectory(); SmbResource f = new SmbFile(defaultShareRoot, makeRandomName()); SmbFile f2 = new SmbFile(d, makeRandomName()) ) { f.createNewFile(); boolean renamed = false; try {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:17:59 UTC 2023 - 16.3K bytes - Viewed (0) -
src/test/java/jcifs/tests/SessionTest.java
Assert.assertTrue(f1 instanceof SmbFile); Assert.assertTrue(f2 instanceof SmbFile); try ( SmbTreeHandleInternal th1 = (SmbTreeHandleInternal) ( (SmbFile) f1 ).getTreeHandle(); SmbTreeHandleInternal th2 = (SmbTreeHandleInternal) ( (SmbFile) f2 ).getTreeHandle(); SmbSessionInternal sess1 = th1.getSession().unwrap(SmbSessionInternal.class);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:09:03 UTC 2023 - 15.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 18.9K bytes - Viewed (0) -
src/test/java/jcifs/tests/FileAttributesTest.java
* @author Ilan Goldfeld */ // #261 @Test public void testExistsOnLock () throws IOException { try ( SmbFile f = createTestFile(); SmbFileOutputStream ostream = f.openOutputStream(true, SmbConstants.FILE_NO_SHARE); SmbFile checkFile = new SmbFile(f.getCanonicalPath(), f.getContext()) ) { try { assertTrue(checkFile.exists()); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:09:03 UTC 2023 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/context/BaseContext.java
import jcifs.smb.BufferCacheImpl; import jcifs.smb.CredentialsInternal; import jcifs.smb.DfsImpl; import jcifs.smb.Handler; import jcifs.smb.NtlmPasswordAuthenticator; import jcifs.smb.SIDCacheImpl; import jcifs.smb.SmbFile; import jcifs.smb.SmbNamedPipe; import jcifs.smb.SmbTransportPoolImpl; /** * @author mbechler * */ public class BaseContext extends AbstractCIFSContext { private final Configuration config;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Nov 27 18:25:00 UTC 2022 - 5.3K bytes - Viewed (0)