Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getTestShareGuestURL (0.1 sec)

  1. src/test/java/jcifs/tests/SessionTest.java

                checkConnection(f);
                f.resolve("test").exists();
            }
        }
    
    
        @Test
        public void logonAnonymous () throws IOException {
            try ( SmbResource f = new SmbFile(getTestShareGuestURL(), withAnonymousCredentials()) ) {
                checkConnection(f);
            }
            catch ( SmbAuthException e ) {
                if ( e.getNtStatus() != NtStatus.NT_STATUS_ACCESS_DENIED ) {
                    throw e;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/FileOperationsTest.java

            try ( SmbFile defaultShareRoot = getDefaultShareRoot();
                  SmbResource f = new SmbFile(defaultShareRoot, makeRandomName());
                  SmbResource p = new SmbFile(getTestShareGuestURL(), getContext());
                  SmbResource tgt = new SmbFile(p, "other-share") ) {
                f.createNewFile();
                boolean renamed = false;
                try {
                    f.renameTo(tgt, true);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:17:59 UTC 2023
    - 16.3K bytes
    - Viewed (0)
Back to top