Hi,
I am looking for an help to save the HTTP response in a data file.
In my script I am opening a my own html page, which inturn trigger a request to the sever to generate the data, but the reply from the server displays data in the browser. But my requirement is to save the data in a file and save it on the client M/C.
property target_URL :my_page.html
open location target_URL
Thanks in advance,
-Subbarao
property target_URL : "my_page.html"
set the destination_file to "Macintosh HD:Users:UserName:Desktop:new.html"
tell application "URL Access Scripting"
download target_URL to destination_file
end tell
I tried as suggested by you. I am getting the following error.
“URL Access Scripting got an error: Authentication error”
When I tried with same URL using “open location tagert_URL” it works fine.
I also tried with by adding authentication. still it is giving the error.
Thanks…