Line Reader Parser for file endpoint - Federated Directory Server
Use the Line Reader Parser to read single lines of data from a file. The line that is read is returned in a single attribute. The attribute named linenumber contains the line number, starting with 1.
Use the Line Reader Parser for reading text files only and not for binary files. If you want to copy a binary file, we can use the scriptable FTP object. For more information and examples of the FTP object, go to the Security Directory Integrator documentation and search for The FTP object. To access the Line Reader Parser configuration parameters:
- Add a File endpoint.
- On the File endpoint configuration page, click Parser and select Line Reader Parser from the list.
- Expand the Parser section to view the parameters.
Parameters
- Attribute Name
- Name of the attribute that contains the line of text either read or about to be written. The default value is line.
- Comment
- Add your comments. The comment is not considered while parsing data.
- Detailed Log
- Select this check box to generate log messages with detailed debug information.
We can also configure the following advanced parameters. Under the Parser section, expand Advanced to view these parameters.
- Character Encoding
- Character encoding to use for reading or writing.
- For more information, go to the SDI documentation and search for Character Encoding conversion.
Parent topic:
File parsers