• 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: Curl progress bar ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Curl progress bar ?


  • Subject: Re: Curl progress bar ?
  • From: Graham Anderson <email@hidden>
  • Date: Mon, 31 Jan 2005 19:53:19 -0800



As an alternative to curl I tried this...as it seems to have a progress bar function in it
for some reason, the below code does not show a progress bar :(
Could the file at 512K be too small for it to show?


tell application "URL Access Scripting"
activate
download gbaseURL & gtheVolume to ((path to desktop) & "Fonovisa.dmg" as string) replacing yes with progress
end tell




On Jan 31, 2005, at 3:39 PM, Graham Anderson wrote:

is it better to download the file with http [like open location] where it opens a browser window and show progress
how do most Applescript users chart a file download progress with curl ?


with curl, is opening up a terminal window the only way ?

many thanks

On Jan 31, 2005, at 3:23 PM, Doug McNutt wrote:

At 15:07 -0800 1/31/05, Graham Anderson wrote:
is there some kind of progress bar for curl ?
something that users can see to be aware of a downloading file

Try doing a "do script" command addressed to Terminal.app.

curl has its own progress "bar" which is implemented with writes to stderr. It uses return characters, as opposed to lineends, so that it overwrites the previous line in a terminal emulator that really emulates.

There are problems with addressing specific windows in Terminal.app which are under discussion in the thread:

New window in Terminal.app


-- --> There are 10 kinds of people: those who understand binary, and those who don't <--
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


This email sent to email@hidden


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


This email sent to email@hidden


_______________________________________________ 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
References: 
 >Curl progress bar ? (From: Graham Anderson <email@hidden>)
 >Re: Curl progress bar ? (From: Doug McNutt <email@hidden>)
 >Re: Curl progress bar ? (From: Graham Anderson <email@hidden>)

  • Prev by Date: Re: syntax problem for reading an xml file in a bundle
  • Previous by thread: Re: Curl progress bar ?
  • Next by thread: Re: Curl progress bar ?
  • Index(es):
    • Date
    • Thread