Re: Downloading a file from the internet with a URL
Re: Downloading a file from the internet with a URL
- Subject: Re: Downloading a file from the internet with a URL
- From: Doug McNutt <email@hidden>
- Date: Thu, 12 May 2016 14:49:30 -0400
The -L option asks curl to honor "this file has moved" that might come
back. curl will try with a new address if one is presented.
-s requests "silence"
From the man page:
Silent or quiet mode. Don't show progress meter or error messages.
Makes Curl mute. It will still output the data you ask
for, potentially even to the terminal/stdout unless you redirect it.
On 05/12/2016 02:29 PM, Stockly, Ed wrote:
Thanks for the responses. This was a case where Google returned way too
much!
Couple questions that I couldn't answer looking at the Curl man page:
What is the Ls parameter?
And why that User Agent? The man page seems to recommend Mozilla.
>>> -Ls -A 'Opera/9.70 (Linux ppc64 ; U; en) Presto/2.2.1' "
Rather than get the data as text, and save it, is it possible to
download the file to a specific location on the local hd? The files are
often zips or sits and I'd rather use them as is than write to file with
appleScript, or is that not an issue?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden