- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 48 for Open (0.18 sec)
-
src/main/java/jcifs/smb/SmbPipeHandleImpl.java
* @see jcifs.SmbPipeHandle#isStale() */ @Override public boolean isStale () { return !this.open || ( this.handle != null && !this.handle.isValid() ); } @Override public synchronized SmbFileHandleImpl ensureOpen () throws CIFSException { if ( !this.open ) { throw new SmbException("Pipe handle already closed"); } if ( !isOpen() ) {
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Mon Apr 13 17:05:22 GMT 2020 - 10.3K bytes - Viewed (0) -
src/main/java/jcifs/SmbConstants.java
static final int FLAGS_COPY_SOURCE_MODE_ASCII = 0x0008; static final int FLAGS_VERIFY_ALL_WRITES = 0x0010; static final int FLAGS_TREE_COPY = 0x0020; // open function static final int OPEN_FUNCTION_FAIL_IF_EXISTS = 0x0000; static final int OPEN_FUNCTION_OVERWRITE_IF_EXISTS = 0x0020; static final int SECURITY_SHARE = 0x00; static final int SECURITY_USER = 0x01; static final int CMD_OFFSET = 4;
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java
have exclusive access to the file. An additional open command from jCIFS or another application will fail with the "file is being accessed by another process" error. The <code>FILE_SHARE_READ</code>, <code>FILE_SHARE_WRITE</code>, and <code>FILE_SHARE_DELETE</code> may be combined with the bitwise OR '|' to specify that other peocesses may read, write, and/or delete the file while the jCIFS user has the file open. *
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 9.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
} /** * @return whether the stream is open */ public boolean isOpen () { return this.handle != null && this.handle.isValid(); } protected synchronized SmbFileHandleImpl ensureOpen () throws CIFSException { if ( !isOpen() ) { // one extra acquire to keep this open till the stream is released
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sat Nov 13 15:14:04 GMT 2021 - 11.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java
// fail if already exists this.openFunction = OPEN_FN_CREATE | OPEN_FN_FAIL_IF_EXISTS; } else { this.openFunction = OPEN_FN_CREATE | OPEN_FN_OPEN; } } else { this.openFunction = OPEN_FN_OPEN; } } } @Override
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
public int read( byte b[], int off, int len ) throws SmbException { if( len <= 0 ) { return 0; } long start = fp; // ensure file is open if( file.isOpen() == false ) { file.open( openFlags, 0, SmbFile.ATTR_NORMAL, options ); } int r, n; SmbComReadAndXResponse response = new SmbComReadAndXResponse( b, off ); do {
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 10.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java
String path; /* batchLimits indecies * * 0 = SMB_COM_CHECK_DIRECTORY * 2 = SMB_COM_CREATE_DIRECTORY * 3 = SMB_COM_DELETE * 4 = SMB_COM_DELETE_DIRECTORY * 5 = SMB_COM_OPEN_ANDX * 6 = SMB_COM_RENAME * 7 = SMB_COM_TRANSACTION * 8 = SMB_COM_QUERY_INFORMATION */ /* All batch limits are single batch only until further notice */
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 6.8K bytes - Viewed (0) -
README.md
JCIFS [![Java CI with Maven](https://github.com/codelibs/jcifs/actions/workflows/maven.yml/badge.svg)](https://github.com/codelibs/jcifs/actions/workflows/maven.yml) ===== JCIFS is an Open Source client library that implements the CIFS/SMB networking protocol in 100% Java. From version 2.x, this project is forked from [jcifs-ng](https://github.com/AgNO3/jcifs-ng) and existing jcifs code is merged as `smb1`. ## Version
Plain Text - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Wed May 10 09:29:34 GMT 2023 - 1.5K bytes - Viewed (0) -
src/main/java/jcifs/SmbWatchHandle.java
* * Closing the context should cancel a pending notify request, but that does not seem to work reliable in all * implementations. * * Changes in between these calls (as long as the file is open) are buffered by the server, so iteratively calling * this method should provide all changes (size of that buffer can be adjusted through * {@link jcifs.Configuration#getNotifyBufferSize()}).
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java
* SmbNamedPipe.PIPE_TYPE_CALL ); * </pre></td><td> * Open the Named Pipe foo for reading and writing. The pipe will behave like the <code>CallNamedPipe</code> interface. * </td></tr> * <tr><td width="20%"><pre> * new SmbNamedPipe( "smb1://server/IPC$/foo", * SmbNamedPipe.PIPE_TYPE_RDWR | * SmbNamedPipe.PIPE_TYPE_TRANSACT ); * </pre></td><td>
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 7.3K bytes - Viewed (0)