ph_saveurl PowerHome formula function
Description
Retrieves the specified URL and saves the returned body to a file.
Syntax
ph_saveurl ( s, s, n )
Argument Description
s String representing URL you wish to retrieve.
s String representing the full path and filename you wish to save the URL's data to.
n Integer representing whether to overwrite the file if it exists or append to it. A 0 will cause the data to be appended to the existing file. Any other value will cause the file to be replaced.
Return value
String. Returns the http header of the requested URL if the function succeeds. Otherwise, a message indicating the error is returned.
Usage
Use this function to retrieve and save HTML, text, graphic, or binary data from a URL to a file.