- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 234 for Command1 (4.17 sec)
-
src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java
} @Test void testWriteParameterWordsWireFormat_PrimaryTransaction() { // Test the writeParameterWordsWireFormat for a primary transaction. smbComNtTransaction.command = ServerMessageBlock.SMB_COM_NT_TRANSACT; smbComNtTransaction.function = SmbComNtTransaction.NT_TRANSACT_QUERY_SECURITY_DESC; smbComNtTransaction.maxSetupCount = 1;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
commandField.setAccessible(true); int command = (int) commandField.get(req); assertEquals(0x0003, command); // SMB2_TREE_CONNECT command value // Verify path is set correctly Field pathField = Smb2TreeConnectRequest.class.getDeclaredField("path"); pathField.setAccessible(true); String actualPath = (String) pathField.get(req); assertEquals(path, actualPath);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComSetInformation.java
*/ package jcifs.internal.smb1.com; import jcifs.Configuration; import jcifs.internal.smb1.ServerMessageBlock; import jcifs.internal.util.SMBUtil; /** * SMB1 COM_SET_INFORMATION command implementation. * * This command sets file attributes and last write time for a file or directory. * * @author mbechler */ public class SmbComSetInformation extends ServerMessageBlock { private final int fileAttributes;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java
// Then assertNotNull(cancel); assertEquals(testMid, cancel.getMid()); // Verify command is set correctly Field commandField = ServerMessageBlock.class.getDeclaredField("command"); commandField.setAccessible(true); assertEquals(SMB_COM_NT_CANCEL, commandField.getByte(cancel)); } @ParameterizedTestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComLogoffAndX.java
*/ package jcifs.smb1.smb1; class SmbComLogoffAndX extends AndXServerMessageBlock { SmbComLogoffAndX(final ServerMessageBlock andx) { super(andx); command = SMB_COM_LOGOFF_ANDX; } @Override int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) { return 0; } @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java
Trans2FindNext2 next = new Trans2FindNext2(sid, resumeKey, filename); // Then assertEquals(ServerMessageBlock.SMB_COM_TRANSACTION2, next.command, "Command must be SMB_COM_TRANSACTION2"); assertEquals(SmbComTransaction.TRANS2_FIND_NEXT2, next.subCommand, "Sub-command must be TRANS2_FIND_NEXT2"); assertEquals(8, next.maxParameterCount, "Max parameter count should be 8");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java
/** * Tests the constructor to ensure it sets up the command and subcommand correctly. */ @Test void testConstructor() { Trans2QueryFSInformationResponse response = new Trans2QueryFSInformationResponse(Trans2QueryFSInformationResponse.SMB_INFO_ALLOCATION); assertEquals(SmbComTransaction.SMB_COM_TRANSACTION2, response.command, "Command should be SMB_COM_TRANSACTION2");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NbtAddress.java
* Microsoft Windows platform. A NetBIOS name can be 15 characters long * and hosts usually registers several names on the network. From a * Windows command prompt you can see * what names a host registers with the nbtstat command. * * * <blockquote> * * <pre> * C:\>nbtstat -a 192.168.1.15 * * NetBIOS Remote Machine Name Table * * Name Type Status
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComDeleteDirectory.java
*/ package jcifs.internal.smb1.com; import jcifs.Configuration; import jcifs.internal.smb1.ServerMessageBlock; /** * SMB1 Delete Directory request message. * * This command is used to delete a directory on the server. * The directory must be empty before it can be deleted. */ public class SmbComDeleteDirectory extends ServerMessageBlock { /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
README.md
props.setProperty("jcifs.smb.client.useLeases", "true"); Configuration config = new PropertyConfiguration(props); CIFSContext context = new BaseContext(config); ``` ## Development ### Build Commands ```bash # Compile the source code mvn compile # Build JAR file mvn package # Clean and rebuild mvn clean compile # Install to local repository mvn install ```
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 09:24:52 UTC 2025 - 6.2K bytes - Viewed (0)