- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for shareAccess (0.09 sec)
-
src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java
this.desiredAccess = 0x2; /* Mmm, I thought 0x03 was RDWR */ } // map shareAccess as far as we can if ( ( shareAccess & SmbConstants.FILE_SHARE_READ ) != 0 && ( shareAccess & SmbConstants.FILE_SHARE_WRITE ) != 0 ) { this.desiredAccess |= SHARING_DENY_NONE; } else if ( shareAccess == SmbConstants.FILE_NO_SHARE ) { this.desiredAccess |= SHARING_DENY_READ_WRITE_EXECUTE;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java
desiredAccess |= FILE_READ_DATA | FILE_READ_EA | FILE_READ_ATTRIBUTES; // extFileAttributes this.extFileAttributes = extFileAttributes; // shareAccess this.shareAccess = shareAccess; // createDisposition if(( flags & SmbFile.O_TRUNC ) == SmbFile.O_TRUNC ) { // truncate the file if(( flags & SmbFile.O_CREAT ) == SmbFile.O_CREAT ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 6.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 8.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java
this.fileAttributes = fileAttributes; } /** * @param shareAccess * the shareAccess to set */ public void setShareAccess ( int shareAccess ) { this.shareAccess = shareAccess; } /** * @param createDisposition * the createDisposition to set */
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Jun 01 09:52:11 UTC 2019 - 14.3K bytes - Viewed (0) -
src/main/java/jcifs/SmbConstants.java
/** * When specified as the <tt>shareAccess</tt> constructor parameter, * other SMB clients (including other threads making calls into jCIFS) * will not be permitted to access the target file and will receive "The * file is being accessed by another process" message. */ static final int FILE_NO_SHARE = 0x00; /** * When specified as the <tt>shareAccess</tt> constructor parameter,
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
if ((shareAccess & ~(FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE)) != 0) { throw new RuntimeException( "Illegal shareAccess parameter" ); } this.shareAccess = shareAccess; } /** * Constructs an SmbFile representing a resource on an SMB network such * as a file or directory. The second parameter is a relative path from
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/smb1/smb1/SmbRandomAccessFile.java
private byte[] tmp = new byte[8]; private SmbComWriteAndXResponse write_andx_resp = null; public SmbRandomAccessFile( String url, String mode, int shareAccess ) throws SmbException, MalformedURLException, UnknownHostException { this( new SmbFile( url, "", null, shareAccess ), mode ); } public SmbRandomAccessFile( SmbFile file, String mode ) throws SmbException, MalformedURLException, UnknownHostException {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 10.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java
* @param shareAccess File sharing flag: <code>SmbFile.FILE_NOSHARE</code> or any combination of <code>SmbFile.FILE_READ</code>, <code>SmbFile.FILE_WRITE</code>, and <code>SmbFile.FILE_DELETE</code> */ public SmbFileOutputStream( String url, int shareAccess ) throws SmbException, MalformedURLException, UnknownHostException { this( new SmbFile( url, "", null, shareAccess ), false ); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 9.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
ServerMessageBlock2Request<T> first, ServerMessageBlock2Request<?>... others ) throws CIFSException { return withOpen(th, createDisposition, 0, SmbConstants.ATTR_NORMAL, desiredAccess, shareAccess, first, others); } @SuppressWarnings ( "unchecked" )
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu May 23 01:50:13 UTC 2024 - 82.3K bytes - Viewed (0)