• 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: Downloading a file from the internet with a URL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Downloading a file from the internet with a URL (From: Steve Mills <email@hidden>)
 >Re: Downloading a file from the internet with a URL (From: "email@hidden" <email@hidden>)
 >Re: Downloading a file from the internet with a URL (From: Yvan KOENIG <email@hidden>)
 >Re: Downloading a file from the internet with a URL (From: "Stockly, Ed" <email@hidden>)

  • Prev by Date: Re: Downloading a file from the internet with a URL
  • Next by Date: Re: Downloading a file from the internet with a URL
  • Previous by thread: Re: Downloading a file from the internet with a URL
  • Next by thread: Re: Downloading a file from the internet with a URL
  • Index(es):
    • Date
    • Thread