Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for createFile (0.2 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java

         */
    
        static final int FILE_OVERWRITE    = 0x4;
    
        /* Open the file and overwrite it's contents or create it if it does not exist
         * aka CREATE_ALWAYS (according to the wire when calling CreateFile)
         */
    
        static final int FILE_OVERWRITE_IF = 0x5;
    
    
        // create options
        static final int FILE_WRITE_THROUGH           = 0x00000002;
        static final int FILE_SEQUENTIAL_ONLY         = 0x00000004;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 6.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbNamedPipe.java

     * writes to, reads from, and closes the pipe in a single operation.
     * <li><code>TransactNamedPipe</code> A message-type pipe call that
     * writes to and reads from an existing pipe descriptor in one operation.
     * <li><code>CreateFile</code>, <code>ReadFile</code>,
     * <code>WriteFile</code>, and <code>CloseFile</code> A byte-type pipe can
     * be opened, written to, read from and closed using the standard Win32
     * file operations.
     * </ul>
     *
     * <p>
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java

     * <li> <code>TransactNamedPipe</code> A message-type pipe call that
     *      writes to and reads from an existing pipe descriptor in one operation.
     * <li> <code>CreateFile</code>, <code>ReadFile</code>,
     *      <code>WriteFile</code>, and <code>CloseFile</code> A byte-type pipe can
     *      be opened, written to, read from and closed using the standard Win32
     *      file operations.
     * </ul>
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

         */
    
        static final int FILE_OVERWRITE = 0x4;
    
        /*
         * Open the file and overwrite it's contents or create it if it does not exist
         * aka CREATE_ALWAYS (according to the wire when calling CreateFile)
         */
    
        static final int FILE_OVERWRITE_IF = 0x5;
    
        // create options
        static final int FILE_WRITE_THROUGH = 0x00000002;
        static final int FILE_SEQUENTIAL_ONLY = 0x00000004;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/trans2/Trans2SetFileInformation.java

         * 
         * @param config
         * @param fid
         * @param attributes
         * @param createTime
         * @param lastWriteTime
         * @param lastAccessTime
         */
        public Trans2SetFileInformation ( Configuration config, int fid, int attributes, long createTime, long lastWriteTime, long lastAccessTime ) {
            this(config, fid, new FileBasicInfo(createTime, lastAccessTime, lastWriteTime, 0L, attributes | 0x80));
        }
    
    
        @Override
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/FileAttributesTest.java

                    assertCloseTime(f.createTime());
                }
                finally {
                    f.delete();
                }
            }
        }
    
    
        @Test
        public void testSetCreated () throws CIFSException, MalformedURLException, UnknownHostException {
            try ( SmbResource f = createTestFile() ) {
                try {
                    long orig = f.createTime();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/FileEntry.java

    package jcifs.smb1.smb1;
    
    public interface FileEntry {
    
        String getName();
        int getType();
        int getAttributes();
        long createTime();
        long lastModified();
        long length();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 191 bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/NetServerEnum2Response.java

            }
            public int getAttributes() {
                return SmbFile.ATTR_READONLY | SmbFile.ATTR_DIRECTORY;
            }
            public long createTime() {
                return 0L;
            }
            public long lastModified() {
                return 0L;
            }
            public long length() {
                return 0L;
            }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 4.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/Trans2SetFileInformation.java

        private int fid;
        private int attributes;
        private long createTime, lastWriteTime;
    
        Trans2SetFileInformation( int fid, int attributes, long createTime, long lastWriteTime ) {
            this.fid = fid;
            this.attributes = attributes;
            this.createTime = createTime;
            this.lastWriteTime = lastWriteTime;
            command = SMB_COM_TRANSACTION2;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 3.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbCopyUtil.java

                          SmbConstants.FILE_WRITE_DATA | SmbConstants.FILE_WRITE_ATTRIBUTES,
                          SmbConstants.FILE_NO_SHARE) ) {
                    long mtime = src.lastModified();
                    long ctime = src.createTime();
                    long atime = src.lastAccess();
                    int i = 0;
                    long off = 0L;
                    while ( true ) {
                        int read = fis.read(b[ i ]);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 17.1K bytes
    - Viewed (0)
Back to top