Re: URL access scripting
Re: URL access scripting
- Subject: Re: URL access scripting
- From: Paul Berkowitz <email@hidden>
- Date: Thu, 13 Dec 2001 08:23:31 -0800
On 12/13/01 7:03 AM, "Gnarlodious" <email@hidden> wrote:
>
OK, I am saying:
>
>
tell application "URL Access Scripting"
>
download "ftp://ftp.MacOSphere.com/test.txt" to desktop
>
end tell
>
>
But getting error "Can't make some data into the expected type"
>
>
What's wrong?
>
Well, I haven't used URL Access Scripting myself, but taking a quick look at
its dictionary I don't see 'desktop' as one of its keyword parameters.
Assuming (?) that the URL string is of a type that it likes, how about
trying something that will return a file specification as its 'to' parameter
says it requires? Will this work?
download "
ftp://ftp.MacOSphere.com/test.txt" to (path to desktop)
--
Paul Berkowitz