problem with do shell script
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