FTP file retrieval from a rule?

Is there a way to retrieve a file from an FTP server within a rule?

Something similar to: sendHttpGetRequest

These don’t work:

val xml = sendHttpGetRequest(“http://ftp.bom.gov.au/anon/gen/fwo/IDW12300.xml”)
val xml = sendHttpGetRequest(“ftp.bom.gov.au/anon/gen/fwo/IDW12300.xml”)
val xml = sendHttpGetRequest(“ftp://ftp.bom.gov.au/anon/gen/fwo/IDW12300.xml”)

Is using a commandline in a rule to issue ftp commands.usable for you ?


Hadn’t thought of that.

So use ftp via command line and then read the file in rule?

Is the command line call blocking?