Re: download file with curl and then launch it
Re: download file with curl and then launch it
- Subject: Re: download file with curl and then launch it
- From: Christopher Nebel <email@hidden>
- Date: Thu, 27 Jan 2005 10:12:27 -0800
On Jan 27, 2005, at 12:21 AM, Emmanuel wrote:
At 6:19 PM -0800 1/26/05, Graham Anderson wrote:
what is the proper way to download a file...wait for it to
complete...and then launch it ?
No simple way, I think. You do have to read first the info about the
file to get its size (curl -I), then poll until the downloaded file's
size reaches that value.
Stuff and nonsense. curl(1) shouldn't return until it's done
downloading. Works for me.
--Chris Nebel
AppleScript Engineering
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden