Re: Downloading a file from the internet with a URL
Re: Downloading a file from the internet with a URL
- Subject: Re: Downloading a file from the internet with a URL
- From: "Stockly, Ed" <email@hidden>
- Date: Thu, 12 May 2016 23:18:23 +0000
- Thread-topic: Downloading a file from the internet with a URL
Hmmm… I copied that URL directly from Yvan's script and it worked. The -L
option is supposed to handle redirects, but that didn't seem to help.
Your version works very well.
Thanks Everyone!
On 5/12/16, 3:17 PM, "Deivy Petrescu" <email@hidden> wrote:
>The URL does not work, because it redirects to a different URL
>:"https://support.apple.com/fr-fr/HT1582"
>
>This script will work;
>
>
>do shell script "curl https://support.apple.com/fr-fr/HT1582 >>
>/Users/YourIdHere/myLocalFile.html "
>delay 2
>tell application "Finder" to open file
>“YourHD:Users:YourIdHere:myLocalFile.html"
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden