• 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: 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


  • Follow-Ups:
    • Re: URL access scripting
      • From: Paul Berkowitz <email@hidden>
References: 
 >URL access scripting (From: Gnarlodious <email@hidden>)

  • Prev by Date: Scripting Illustrator 9.x & InDesign 1 or 2
  • Next by Date: Re: Difference between "as alias" and "as file spec
  • Previous by thread: URL access scripting
  • Next by thread: Re: URL access scripting
  • Index(es):
    • Date
    • Thread