Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

...

Syntax

...

saveURLToFile(url, file)

...

Package

...

http

...

Alias

...

Pkg Usage

...

saveURLToFile(url, file)

Description

Excerpt
hiddentrue
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

...

applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

...

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
languagejs
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

array_routines
Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "http_routine" and space = currentSpace ( )
labels
Include Page
SIL:saveURLToFile
SIL:saveURLToFile