Module: Editor
Version: 2.2.1 +
Description
The formula ‘ReadFileAsBase64’ reads any file format and converts this file format to a Base64-string. Conversion of a file to a Base64-string makes it possible to pass this file through to a webservice or an URL. With the Futurama Object ‘Download’ it is possible to download any file format from a website. Input for this object is a Base64 converted file. The formula ‘ReadFileAsBase64’ can be used for a ‘Download’ object.
Parameters
FileName:
This is the path to the file that has to be converted.
Example
Description
The document test.doc is in the folder c:\inetpub\wwwroot\futurama\application. To convert this file into a Base64-string you need to use the function 'ReadFileAsBase64'.
Values parameters
FileName:
c:\inetpub\wwwroot\futurama\application\test.doc.
Instead of filling in the path you can use the formulas 'Concatenate' and 'GetPathToDataFiles'.
Result
In the resultwindow you can find the Base64-string of the document.