::hwat::io::ReadFileFromURL

Reads file from the URL, into the temp local file in current directory if needed.

Syntax

::hwat::io::ReadFileFromURL $str_url

Arguments

Str_url
URL to a file.
For example: http:://www.test.com/xml/test.xml.

Returns

Success
A local filename
Failure
{}

Example

::hwat::io::ReadFileFromURL "http://www:8080/~roman/xml/1.xml".