Your best friend for file transfer.Fetch
Quick way to see if an ftp site is up (automated)? (3 posts)
- Started 11 years ago by Wes
- Latest reply 11 years ago from Wes
Using applescript/os9, is there a way to get Fetch to ping or check an ftp site to see if it is up or down before sending files?
fyi: I have an applescript that runs every hour to send files out an FTP site. The site goes down alot during deadline.
Jim Matthews Administrator
You can use a try block in an AppleScript, something like this:
tell application "Fetch 4.0.3"
open url "ftp://userid :password@server/"
close transfer window 1
display dialog "The server is up"
display dialog "The server is down"
Does that help?
[This message has been edited by JimMatthews (edited 06-26-2003).]
It pains me that it was that simple.
Thanks again for your help.
- Page 1
This topic has been closed.