Re: downloading a file into a folder
Re: downloading a file into a folder
- Subject: Re: downloading a file into a folder
- From: "Adam K. Wuellner" <email@hidden>
- Date: Wed, 16 Feb 2005 12:38:14 -0600
On Feb 13, 2005, at 1:45 AM, Ed Rush wrote:
When I add the folder (which is on the Desktop), this test:
display dialog POSIX path of (((path to desktop) as string) &
"PuzzlesToDo:" & myFileName)
shows the correct path, with slashes. However, when I put the folder
into the shell command, like this:
do shell script ("curl " & this_URL & " -o " & POSIX path of (((path
to desktop) as string) & "PuzzlesToDo:" & myFileName))
I get this error:
<curl error.jpg>
Can someone here tell me how to fix this? TIA.
Put the path construction in parentheses?
i.e.
do shell script ("curl " & this_URL & " -o " & (POSIX path of (((path
to desktop) as string) & "PuzzlesToDo:" & myFileName)))
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden