User Tools

Site Tools


en:actions:actionreadtextfile

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:actions:actionreadtextfile [2016/10/09 11:10] (current)
Line 1: Line 1:
 +====== Read text file ======
  
 +This action allows you to read a text file.
 +
 +===== Standard parameters =====
 +==== Input parameters ====
 +== File ==
 +The text file to read.
 +==== Output parameters ====
 +== Variable ==
 +The name of the variable where to store the text that has been read.
 +===== Advanced parameters =====
 +==== Input parameters ====
 +== Mode ==
 +The file read mode. The read data can be:
 +  * the whole file content //(Read the entire file)//
 +  * a line interval //(Read a selection)//​
 +== Selection mode ==
 +the line interval to read. This parameter is only active if the //read a selection// mode is selected.
 +Le first and the last line will always be read. To read only one line, write the same line number in both fields.
 + 
 +===== Exceptions =====
 +
 +  * [[en:​actions:​exceptions#​Bad parameter|Bad parameter]]
 +  * [[en:​actions:​exceptions#​Code error|Code error]]
 +  * [[en:​actions:​exceptions#​timeout|Timeout]]
 +  * [[en:​actions:​actionreadtextfile#​unable_to_read_file|Unable to read the file]]
 +
 +==== Unable to read the file ====
 +<​BOOKMARK:​unable_to_read_file>​
 +
 +This exception is thrown when the file cannot be read.
 +  * Default action: stop the script execution
en/actions/actionreadtextfile.txt ยท Last modified: 2016/10/09 11:10 (external edit)