Re: URL Access Scripting with progress
Re: URL Access Scripting with progress
- Subject: Re: URL Access Scripting with progress
- From: Timothy Bates <email@hidden>
- Date: Mon, 08 May 2006 10:45:19 +0100
- Thread-topic: URL Access Scripting with progress
Curl rocks: every protocol under the sun, post and get form data...
Basically safari on the command line.
The power is amazing too: want to download a range of files with related
names? Use range variables:
curl "www.somwhere.com/[01-10].doc" -o "#1.doc"
This will grab 01.doc 02.doc ... 10.doc and save with unique names as
specified. Works with text lists too
curl "www.somwhere.com/{brian,jane,sally}.doc" -o "#1.doc"
--> brian.doc jane.doc
Learn more at
man curl
And of course without -o you just get the file contents back into your
script: perfect for tossing at regexp
> Using 'curl' instead made our scripts shorter and the whole thing
> finally more reliable.
>
> Emmanuel
_______________________________________________
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