1 Reply Latest reply on Dec 6, 2009 8:44 AM by radek.r

    reading file to base64 string

    radek.r Level 1

      Hi,

       

      what is the right way to read some file from local filesystem to string variable as a base64 encoded data ?

       

      I am doing this now by BeanShell :-/ (read file, convert it into base64 and put this to some variable).

       

      Is it possible to do this somehow with standard Read Document service and "data coercing" - to coerce Document to binary and somehow to translate it to base64 ?

       

      Thanks.