Info |
---|
|
This routine is available starting with SIL Engineā¢ 3.0.8. |
...
Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | saveURLToFile(url, file) | Package | http | Alias | | Pkg Usage | saveURLToFile(url, file) | |
Description
Excerpt |
---|
|
Saves the content of some URL (HTTP GET) to the specified file. |
Saves the content of some URL (HTTP GET) to the specified file.
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
url | |
...
...
Yes | Valid URL. No auth is performed. | file |
|
...
...
Yes | Path to the (new) file that will keep the content of the URL. |
|
Return Type
...
Boolean
The routine returns a boolean indicating if the call succeeded or not.
Example
Code Block |
---|
title | Simple usage |
---|
string testfile="c:/tests/mytempfile.html"; //assuming that folder `tests`'tests' has been already created in c:\ path
if(saveURLToFile("https://kepler-rominfo.com/pages/solutions/jira-plugins", testfile)) {
//do something with that html
} |
...
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "httpsystem_support"routines" and space = currentSpace ( ) |
---|
labels | httparray_supportroutines |
---|
|