Your best friend for file transfer.Fetch
applescript/ retry count (2 posts)
- Started 13 years ago by scarmody
- Latest reply 13 years ago from Jim Matthews
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?
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
open url "ftp://userid :password@hostname/"
set connected to true
[This message has been edited by JimMatthews (edited 07-21-2001).]
- Page 1
This topic has been closed.