• 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: "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
//\//\//\\


References: 
 >URL access scripting (From: Gnarlodious <email@hidden>)

  • Prev by Date: Re: URL access scripting
  • Next by Date: Re: Scripting Illustrator 9.x & InDesign 1 or 2
  • Previous by thread: Re: URL access scripting
  • Next by thread: RE: URL access scripting
  • Index(es):
    • Date
    • Thread