This recipe demonstrates how to read data from an online TXT file using text datasource.
Steps taken:
- Create a text datasource (TextDS_ReadFromHTTP.ds).
- Enter the URL of the online TXT file into the “Define Text Datasource > File URL” field. Set Encoding to “UTF-8”. Set Date, Time and Timestamp formats properly. Set “Access Type” to “Separator Character”.
- On the Next page, select the Separator as Comma. Infer schema and click “Finish”.Upon loading data, it will display the contents of the online TXT file.
To download the necessary files for this recipe, refer to the attached ZIP package.
WebServices (1).zip (1.1 KB)