• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: download file with curl and then launch it
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: download file with curl and then launch it
      • From: Emmanuel <email@hidden>
References: 
 >Re: iWork Pages (From: T&B <email@hidden>)
 >iWork Pages - You can make it scriptable (From: T&B <email@hidden>)
 >download file with curl and then launch it (From: Graham Anderson <email@hidden>)
 >Re: download file with curl and then launch it (From: Emmanuel <email@hidden>)

  • Prev by Date: Re: FileMaker 6 Bring Database to front
  • Next by Date: Re: FileMaker 6 Bring Database to front
  • Previous by thread: Re: download file with curl and then launch it
  • Next by thread: Re: download file with curl and then launch it
  • Index(es):
    • Date
    • Thread