Re: URL Access Scripting
Re: URL Access Scripting
- Subject: Re: URL Access Scripting
- From: Michael Turner <email@hidden>
- Date: Tue, 11 Dec 2001 13:41:18 -0500
>
> Why not try scripting Anarchy to do it, then?
>
>
Its price? :)
He wanted to hand the script to clients who may or may not have this
client. They would definitely have URL Access Scripting.
I learned what I was doing wrong:
For non-anonymous (at least with my server) you must provide the
complete absolute path, as well.
-- start example script
set the target_URL to
"
ftp://machine.domain.com/fsysA/home/me/inbox/test.txt"
set the dest_file to ((path to desktop as string) & "test.txt")
tell application "URL Access Scripting"
download target_URL to file dest_file with authentication
-- and directory listing -- use this to check your path
end tell
tell application "Finder" to open dest_file
-- end example script
Thanks everybody for your sample scripts & examples.
/Michael