• 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: URL Access Scripting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: URL Access Scripting


  • Subject: Re: URL Access Scripting
  • From: Christopher Nebel <email@hidden>
  • Date: Fri, 28 Feb 2003 10:56:12 -0800

On Friday, February 28, 2003, at 09:55 AM, Doug McNutt wrote:

At 16:48 +0000 2/28/03, garybi wrote:
l've got a little problem trying to get muliple files download using URL Access Scripting.

curl has completely replaced URL Access in my lexicon. It requires that you learn a bit about shell scripting and probably requires the Developer Tools but you do mention command line tools.

In fact, it's part of the BSD package, which is a default, but not required, install. You can find this out by searching the install receipts something like this:

% find /Library/Receipts -name "*.bom" -print0 | xargs -0 grep -lw curl
/Library/Receipts/BSD.pkg/Contents/Archive.bom
/Library/Receipts/BSDSDK.pkg/Contents/Archive.bom
/Library/Receipts/DevSDK.pkg/Contents/Archive.bom

Hmm, BSD.pkg is the most basic one...
% lsbom -s /Library/Receipts/BSD.pkg/Contents/Archive.bom | grep -w curl
./usr/bin/curl <-- aha!
./usr/bin/curl-config
./usr/share/man/man1/curl-config.1
./usr/share/man/man1/curl.1

Making this more intelligent and turning it into a (shell) script is left as an exercise for the reader.


--Chris Nebel
AppleScript Engineering
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: URL Access Scripting (From: Doug McNutt <email@hidden>)

  • Prev by Date: Re: PDF Services Workflow
  • Next by Date: newbie question
  • Previous by thread: Re: URL Access Scripting
  • Next by thread: loop to build a list?
  • Index(es):
    • Date
    • Thread