2 Replies Latest reply on Oct 13, 2015 2:53 PM by EddieLotter

    coldfusion need to read the file and pass the bytes[].

    vipran

      need to read the file and pass the bytes[].

      Can i create a java object and use it in coldfusion like below please help:

      pathOb = createObject("java", "java.nio.file.Paths");

      files = createObject("java", "java.nio.file.Files");

      path = pathOb.get("file"); data = Files.readAllBytes(path)