Download a file from a website when FTP is not an option

I am trying to automate a manual process, where a text file is downloaded from an external website. Unfortunately FTP is not an option. Is there anyway to grab this file via a HTTP Get/Post? I am running IS v4.6.

thanks in advance,

Easy Solution:

invoke pub.web:loadDocument

It returns a node which you should easily be able to convert to a string for manipulation.



Slightly more difficult solution…

Invoke pub.client:http to do a HTTP GET on the URL.