Your best friend for file transfer.

Fetch application logoFetch

AppleScript (4 posts)

This is an archived topic. The information in it is likely to be out-of-date and no longer applicable to current versions of Fetch.
  • Started 21 years ago by Bill
  • Latest reply 21 years ago from Jim Matthews
  • Bill Member

    I want to setup an AppleScript to use Fetch to automatically download log files from my website once a day. Could someone point me in the direction of an existing script that I can modify for this purpose.

    Thanks, Bill

    Posted 21 years ago #

  • Jim Matthews Administrator

    The actual download can be done with one statement:

    copy url "ftp://userid :password@host/path/filename" to beginning of alias "My Hard Disk:my folder:"

    To have the statement run once a day you'd want to use something like iDo Script Scheduler, from http://www.powerkey.com .

    Thanks,

    Jim Matthews
    Fetch Softworks

    [This message has been edited by JimMatthews (edited 11-12-2002).]

    Posted 21 years ago #

  • davidmorr Member

    Originally posted by JimMatthews:

    The actual download can be done with one statement:

    copy url "ftp://userid :password@host/path/filename" to beginning of alias "My Hard Disk:my folder:"

    This is a useful quick technique for downloading a file, much easier than wading through the "official" sequence of actions for AppleScript.

    It would be really helpful if the sample scripts that come with Fetch were to include a few more complex examples on which we could base our own scripting of Fetch. Examples are almost always the best way to learn Applescript, I have found.

    BTW, there is no entry in Fetch's dictionary for the word "copy"...

    Regards

    David

    Posted 21 years ago #

  • Jim Matthews Administrator

    Thanks for the feedback; I will try to produce more examples.

    "copy" is a synonym for "duplicate", which is in the dictionary. Sorry about that.

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 21 years ago #

Topic closed

This topic has been closed.