Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for creation (0.14 sec)

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

                parent.mkdirs();
            }
            mkdir();
        }
    
    /**
     * Create a new file but fail if it already exists. The check for
     * existance of the file and it's creation are an atomic operation with
     * respect to other filesystem activities.
     */
        public void createNewFile() throws SmbException {
            if( getUncPath0().length() == 1 ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  2. src/main/java/jcifs/smb/SmbFile.java

                    }
                }
                else {
                    if ( ctime != 0 || atime != 0 ) {
                        throw new SmbUnsupportedOperationException("Cannot set creation or access time without CAP_NT_SMBS");
                    }
                    th.send(
                        new SmbComSetInformation(th.getConfig(), getUncPath(), attrs, mtime - th.getServerTimeZoneOffset()),
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
Back to top