- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for exists (0.23 sec)
-
src/test/java/jcifs/tests/SessionTest.java
checkConnection(f); f.resolve("test").exists(); } } @Test public void transportReconnects () throws IOException { try ( SmbFile f = getDefaultShareRoot() ) { // transport disconnects can happen pretty much any time assertNotNull(f); f.connect(); f.exists(); assertNotNull(f);
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:09:03 GMT 2023 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtStatus.java
"There are currently no logon servers available to service the logon request.", "The specified user already exists.", "The specified user does not exist.", "The specified network password is not correct.", "Logon failure: unknown user name or bad password.", "Logon failure: user account restriction.", "Logon failure: account logon time restriction violation.",
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sat Jun 01 10:09:29 GMT 2019 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/tests/EnumTest.java
SmbFile f = new SmbFile(r, "enum-test/a/b/c/") ) { f.exists(); } } @Test public void testEnumDeepVirgin () throws IOException { try ( SmbFile r = getDefaultShareRoot(); SmbFile f = new SmbFile(r, "x-test/") ) { if ( !f.exists() ) { f.mkdirs(); } }
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/test/java/jcifs/tests/FileOperationsTest.java
try { f.renameTo(f2); try { assertTrue(f2.exists()); renamed = true; } finally { f2.delete(); } } finally { if ( !renamed && f.exists() ) { f.delete(); } } } }
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:17:59 GMT 2023 - 16.3K bytes - Viewed (0) -
src/test/java/jcifs/tests/DfsTest.java
CIFSContext context = getContext(); context = withTestNTLMCredentials(context); try ( SmbResource root = context.get(getTestShareURL()) ) { root.exists(); try ( SmbResource t = root.resolve(makeRandomName()) ) { try { t.createNewFile(); } finally { t.delete();
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Mar 01 09:46:04 GMT 2020 - 13.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java
} E( p21, challenge, p24 ); return p24; } /** * Creates the LMv2 response for the supplied information. * * @param domain The domain in which the username exists. * @param user The username. * @param password The user's password. * @param challenge The server challenge. * @param clientChallenge The client challenge (nonce). */
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 22.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/FileAttributesTest.java
SmbFile checkFile = new SmbFile(f.getCanonicalPath(), f.getContext()) ) { try { assertTrue(checkFile.exists()); } finally { ostream.close(); checkFile.close(); f.delete(); } } } /**
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/smb1/Config.java
*/ public static String getProperty( String key ) { return prp.getProperty( key ); } /** * Retrieve an <code>int</code>. If the key does not exist or * cannot be converted to an <code>int</code>, the provided default * argument will be returned. */ public static int getInt( String key, int def ) { String s = prp.getProperty( key );
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/tests/KerberosTest.java
SmbSessionInternal session = (SmbSessionInternal) th.getSession() ) { Assume.assumeTrue("Not SMB2", th.isSMB2()); f.exists(); session.reauthenticate(); f.exists(); } } @Test public void testSessionExpiration () throws Exception {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Mar 01 09:46:04 GMT 2020 - 11.5K bytes - Viewed (0) -
src/main/java/jcifs/SmbResource.java
* @throws CIFSException */ int getType () throws CIFSException; /** * Tests to see if the SMB resource exists. If the resource refers * only to a server, this method determines if the server exists on the * network and is advertising SMB services. If this resource refers to * a workgroup, this method determines if the workgroup name is valid on
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Dec 20 14:09:34 GMT 2020 - 26K bytes - Viewed (0)