• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: URL Access Scripting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: URL Access Scripting (From: "Serge Belleudy-d'Espinose" <email@hidden>)

  • Prev by Date: Logging on to a Server.
  • Next by Date: Re: Using AppleScript Guides with OS X
  • Previous by thread: Re: URL Access Scripting
  • Next by thread: Re: URL Access Scripting
  • Index(es):
    • Date
    • Thread