3 Replies Latest reply on May 31, 2011 5:42 AM by 865304

    File operation in shared window directory from MAC os

      I am literally crumbling to create or do any file IO operation in a shared Window(Server) directory from my MAC. I use smb://server-ip/shared-directory to access file/folder from my MAC. However using the same notation in file IO API does not work and it all gives null pointer exception.
      String uri = "smb://server/shared1/subm=folder"; // also tried with file:///server, smb://DOMAIN;user@server/shared1 etc...
      File file = new File(uri);
      System.out.println(file.list()); //This always gives null

      This is really critical for me and would appreciate your help.