• 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: Emmanuel <email@hidden>
  • Date: Thu, 27 Jan 2005 09:21:22 +0100

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.


If you are a Smile user, polling is cool with "smilepause". Otherwise polling is less cool but you can do it using the "delay" command.

Emmanuel
From Satimage-software, the providers of the Smile platform.
_______________________________________________
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: Christopher Nebel <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>)

  • Prev by Date: Looking for a script
  • Next by Date: Unpack and pack .gz files.
  • Previous by thread: download file with curl and then launch it
  • Next by thread: Re: download file with curl and then launch it
  • Index(es):
    • Date
    • Thread