...
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
...
applyColStyleToCell | true |
---|---|
columnTypes | s,s,s,s |
heading | 0 |
multiple | false |
enableSorting | false |
...
Parameter name
...
Type
...
Required
...
Description
...
url
...
String
...
Yes
...
Valid URL. No auth is performed.
...
file
...
String
...
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 | ||
---|---|---|
| ||
string testfile="c:/tests/mytempfile.html"; //assuming that folder 'tests' has been already created in c:\ path
if(saveURLToFile("https://kepler-rominfo.com/pages/solutions/jira-plugins", testfile)) {
//do something with that html
} |
See also
Filter by label (Content by label) | ||||
---|---|---|---|---|
showLabels | false | |||
max | 25 | |||
showSpace | false | |||
cql | label = "http_routine" and space = currentSpace ( ) | labels | array_routines||
Include Page | ||||
|