Read Text File

From PresenceWiki
Revision as of 14:21, 21 August 2015 by Rob (Talk | contribs)

(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

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:

Read text file.gif

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.

See also:


See Also

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


Task Elements | Resources