Re: URL access scripting
Re: URL access scripting
- Subject: Re: URL access scripting
- From: "Serge Belleudy-d'Espinose" <email@hidden>
- Date: Thu, 13 Dec 2001 17:31:55 +0100
At 8:03 -0700 13/12/01, Gnarlodious wrote:
>
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"
'Desktop' is not sufficient, as URL access scripting excepts a full file specification, eg.
file "yourdisk:yourfolder:yourfile"
or closer to your need
file ("" & (path to desktop) & "file.txt")
You can add 'replacing yes' if you want to try several times without being bothered each.
Serge
--
\\//\//\// Serge Belleudy-d'Espinose Institut Jacques Monod
// // //
http://www.ijm.jussieu.fr/ Universite Paris VII - Jussieu
//\//\//\\