- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for newFileName (0.76 sec)
-
src/main/java/jcifs/internal/smb1/com/SmbComRename.java
private final String oldFileName; private final String newFileName; /** * Constructs a rename request. * * @param config the configuration * @param oldFileName the current file name * @param newFileName the new file name */ public SmbComRename(final Configuration config, final String oldFileName, final String newFileName) { super(config, SMB_COM_RENAME);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java
assertTrue(result.contains("newFileName=" + newFileName)); } /** * Test with null configuration */ @Test @DisplayName("Test constructor with null configuration throws NullPointerException") public void testConstructorWithNullConfig() { // Given String oldFileName = "old.txt"; String newFileName = "new.txt";
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComRename.java
private final int searchAttributes; private final String oldFileName; private final String newFileName; SmbComRename(final String oldFileName, final String newFileName) { command = SMB_COM_RENAME; this.oldFileName = oldFileName; this.newFileName = newFileName; searchAttributes = ATTR_HIDDEN | ATTR_SYSTEM | ATTR_DIRECTORY; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java
trans2FindNext2 = new Trans2FindNext2(config, TEST_SID, TEST_RESUME_KEY, TEST_FILENAME, TEST_BATCH_COUNT, TEST_BATCH_SIZE); int newResumeKey = 0x5678; String newFilename = "newfile.txt"; trans2FindNext2.reset(newResumeKey, newFilename); // Verify by writing parameters and checking the buffer byte[] buffer = new byte[256]; int written = trans2FindNext2.writeParametersWireFormat(buffer, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.2K bytes - Viewed (0)