Your best friend for file transfer.

Fetch application logoFetch

applescript/ retry count (2 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 22 years ago by scarmody
  • Latest reply 22 years ago from Jim Matthews
  • scarmody Member

    A previous posting mentioned that "Fetch will keep trying to connect to a busy server (SetSecretOptions lets you specify how long Fetch should wait between attempts). To use this option click the disclosure triangle in the New Connection window; it will reveal a field where you can specify how many times Fetch will retry connecting."

    is there any way to access this "retry count" from applescript?

    Posted 22 years ago #

  • Jim Matthews Administrator

    No, but you can have your script retry a connection attempt until it succeeds, for example:

    set connected to false
    repeat while not connected
    on try
    open url "ftp://userid :password@hostname/"
    set connected to true
    end try
    end repeat

    Jim Matthews
    Fetch Softworks

    [This message has been edited by JimMatthews (edited 07-21-2001).]

    Posted 22 years ago #

Topic closed

This topic has been closed.