Downloading .csv file via Javascript link
Downloading .csv file via Javascript link
- Subject: Downloading .csv file via Javascript link
- From: Andrew Duncan <email@hidden>
- Date: Fri, 07 Dec 2001 18:37:38 +1100
Hi - I'm trying to AppleScript Netscape Navigator v4.7 on Mac OS 9.1 to
download a file from a website, or alternatively use the URL Access
Scripting to do this. The site in question requires a password to be entered
into a field on the web page and then you can click a Javascript link which
generates a .csv file that is downloaded.
I can't use Internet Explorer as it just opens the .csv file in the browser
window; Netscape however just downloads the file immediately. I'm not sure
if URL Access Scripting can do what I want - this would be my preferred
method if possible. Does anybody know whether URL Access Scripting can
download a file that is linked via Javascript?
Many thanks - Andrew