- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for searchAttributes (0.06 sec)
-
src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java
} desiredAccess |= SHARING_DENY_NONE; desiredAccess &= ~0x1; // Win98 doesn't like GENERIC_READ ?! -- get Access Denied. // searchAttributes searchAttributes = ATTR_DIRECTORY | ATTR_HIDDEN | ATTR_SYSTEM; // fileAttributes fileAttributes = 0; // openFunction if ((flags & SmbFile.O_TRUNC) == SmbFile.O_TRUNC) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComRename.java
this.oldFileName = oldFileName; this.newFileName = newFileName; this.searchAttributes = SmbConstants.ATTR_HIDDEN | SmbConstants.ATTR_SYSTEM | SmbConstants.ATTR_DIRECTORY; } @Override protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) { SMBUtil.writeInt2(this.searchAttributes, dst, dstIndex); return 2; } @Override
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/main/java/jcifs/smb/SmbEnumerationUtil.java
final ResourceFilter ff) throws CIFSException { final DosFileFilter dff = unwrapDOSFilter(ff); if (dff != null) { if (dff.wildcard != null) { wildcard = dff.wildcard; } searchAttributes = dff.attributes; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComRename.java
class SmbComRename extends ServerMessageBlock { 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/smb1/smb1/SmbComDeleteTest.java
assertTrue(result.contains("searchAttributes=0x")); assertTrue(result.contains("fileName=" + TEST_FILE_NAME)); // Get private searchAttributes field to verify the hex value int searchAttributes = getSearchAttributes(smbComDelete); String expectedSearchAttributes = "searchAttributes=0x" + Hexdump.toHexString(searchAttributes, 4); assertTrue(result.contains(expectedSearchAttributes));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2FindFirst2.java
Trans2FindFirst2(final String filename, final String wildcard, final int searchAttributes) { if (filename.equals("\\")) { this.path = filename; } else { this.path = filename + "\\"; } this.wildcard = wildcard; this.searchAttributes = searchAttributes & 0x37; /* generally ignored tho */ command = SMB_COM_TRANSACTION2;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2.java
* @param wildcard the wildcard pattern to match * @param searchAttributes the file attributes to search for * @param batchCount the number of entries to return * @param batchSize the maximum size of the response buffer */ public Trans2FindFirst2(final Configuration config, final String filename, final String wildcard, final int searchAttributes, final int batchCount, final int batchSize) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComDelete.java
private final int searchAttributes; SmbComDelete(final String fileName) { this.path = fileName; command = SMB_COM_DELETE; searchAttributes = ATTR_HIDDEN | ATTR_HIDDEN | ATTR_SYSTEM; } @Override int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) { writeInt2(searchAttributes, dst, dstIndex); return 2; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComDelete.java
private final int searchAttributes; /** * Creates a new SMB1 delete file request. * * @param config the CIFS configuration * @param path the path of the file to delete */ public SmbComDelete(final Configuration config, final String path) { super(config, SMB_COM_DELETE, path);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java
this.desiredAccess |= SHARING_DENY_READ_WRITE_EXECUTE; } this.desiredAccess &= ~0x1; // Win98 doesn't like GENERIC_READ ?! -- get Access Denied. // searchAttributes this.searchAttributes = SmbConstants.ATTR_DIRECTORY | SmbConstants.ATTR_HIDDEN | SmbConstants.ATTR_SYSTEM; // openFunction if ((flags & SmbConstants.O_TRUNC) == SmbConstants.O_TRUNC) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.3K bytes - Viewed (0)