• 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
problem with do shell script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problem with do shell script


  • Subject: problem with do shell script
  • From: John McClintock <email@hidden>
  • Date: Tue, 28 Jun 2011 14:45:43 -0400

Greetings Scripters,

I'm having a problem with a script I've been using for several years and hope it's a workstation issue.  The script collects images from http://www.goes-arch.noaa.gov/ and assembles them into a QuickTime Movie.  The script breaks on the following:

set shell_string to "curl -O http://www.goes-arch.noaa.gov/ECIR111790745.GIF "
do shell script shell_string

The error says "failed to create the file" and "failed to write body" - it's not writing the file.   The result line is "curl -O http://www.goes-arch.noaa.gov/ECIR111790745.GIF " and this seems to be well-formed and works in Terminal.  The image does exist on the server (they are stored for 30 days and it exists today), and actually the script should write a blank file even if the file doesn't exist on the server.  It feels like a permissions issue.

I'm running Mac OS 10.6.7.  It still works in 10.5.8.  Does anyone have any ideas?
Thanks,
John McClintock

 _______________________________________________
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

  • Follow-Ups:
    • Re: problem with do shell script
      • From: Doug McNutt <email@hidden>
    • Re: problem with do shell script
      • From: "Mark J. Reed" <email@hidden>
  • Prev by Date: Re: TIFF to PDF - easiest way?
  • Next by Date: Re: problem with do shell script
  • Previous by thread: Re: Error of Type -10827 has occurred
  • Next by thread: Re: problem with do shell script
  • Index(es):
    • Date
    • Thread