Re: downloading a file into a folder
Re: downloading a file into a folder
- Subject: Re: downloading a file into a folder
- From: Rob Stott <email@hidden>
- Date: Mon, 14 Feb 2005 19:37:56 +0000
On 14 Feb 2005, at 19:16, Ed Rush wrote:
shows the correct path, with slashes. However, when I put the folder into the shell command, like this:
<x-tad-smaller>
do shell script</x-tad-smaller><x-tad-smaller> ("curl " & </x-tad-smaller><x-tad-smaller>this_URL</x-tad-smaller><x-tad-smaller> & " -o " & </x-tad-smaller><x-tad-smaller>POSIX path</x-tad-smaller><x-tad-smaller> </x-tad-smaller><x-tad-smaller>of</x-tad-smaller><x-tad-smaller> (((</x-tad-smaller><x-tad-smaller>path to</x-tad-smaller><x-tad-smaller> </x-tad-smaller><x-tad-smaller>desktop</x-tad-smaller><x-tad-smaller>) </x-tad-smaller><x-tad-smaller>as</x-tad-smaller><x-tad-smaller> </x-tad-smaller><x-tad-smaller>string</x-tad-smaller><x-tad-smaller>) & "PuzzlesToDo:" & </x-tad-smaller><x-tad-smaller>myFileName</x-tad-smaller><x-tad-smaller>))
</x-tad-smaller>
I get this error:
Probably the colon on the end of your folder name - a POSIX path uses slashes, not colons.
Hope that helps
r.
---
Rob Stott - Development Team, Trident UK
Connaught Road, Kingswood, East Yorkshire HU7 3AP
My work: http://www.apple.com/uk/creative/trident/
My band: http://www.superscapemusic.co.uk
_______________________________________________
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