File Rule

Listen for files on local file system

  • Access and process files stored in the operating system where the platform is installed
  • Context Variable: file
  • Platform gives you a great deal of flexibility when it comes to data transfer and handling, even though there are multiple channels to send / receive data, there may be cases you want to deal with large files which may not be a good idea to process in memory. File Rules gives you the freedom to handle very large files where you can buffer and access data in efficient ways
  • Integrating with 3rd party or legacy software where developers use to dump the data on OS folders where other systems will take and process, these File Rules fits this kind of scenario very well.

def links = file.iterate();

  def link =;"Crawling %s ...", link);

See Also

OS File Context ]

Related REST APIs

Delete File Rule