Read Text File
Read Text File Node
The Read Text File Node can read text from a local or remote location. The location can be in the form of a local path or UNC, a URL, or an FTP site.
The incoming text will be stored in a Presence variable for later use in your Task.
Creating a Read Text File Node
To create a Read Text File Node, simply drag the Read Text File icon from the "Actions" Task Element list into your Task. You will then see the options dialog:
If the file you want to read is on your local machine or network, select "Use local file". If it is on the internet, select "Use remote file".
Enter file location
This should be the relative or absolute path in the case of local / network files. If it is a URL or on an FTP server, click in the text field to launch the File Chooser dialog.
Variable to create
This is the name of the variable that Presence should write the contents of the file to.
Use Special Character Set
This allows you to override the default character set when reading the file. Usually this will be automatically detected, except in special circumstances.
When you are happy with your changes click "Okay" to include the Node in your Task.
Task Elements : Action Task Elements : Read Text File
|Send Email | Send SMS | Send Fax | Broadcast Messages|
|Read Text File | Read Binary File | Write Text File | Write Binary File | Parse File Action|
|Rename File | Copy File | Delete File | Parse File Action|
|Generate Bar Code | Read Bar Code|
|Dynamic Task Call | Call Native Program | FTP Upload | Scorecard Collector | Create Graph | AS400 Action|
|Socket Client Action | Socket Server Action|
|JMS Producer | JMS Consumer|