2 Replies Latest reply on Aug 11, 2008 7:47 PM by Daniel Hinojosa

    Transmit byte array as raw file

    Stephane DUCAS Newbie

      Hello!


      I have a byte array property (filled in with the s:fileUpload component) of a managed bean...


      this is not an image, nore PDF..; I would like to transmit it as a raw file so the user can download this when he click on a link...


      How can I perform that...


      The content of the file should only be {clientHome.instance.fileField} and there must be no HTML headers...


      Any idea?


      THX!