• 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
Detecting if connected to internet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Detecting if connected to internet


  • Subject: Detecting if connected to internet
  • From: Dan Doughtie <email@hidden>
  • Date: Fri, 23 May 2008 13:36:43 -0400
  • Thread-topic: Detecting if connected to internet

Title: Detecting if connected to internet
I’ve written an Applescript that will make a backup of a Filemaker Database with unique name then uses CURL to ftp it to a backup server. This DB is a standalone and I don’t trust the user to make an offline backup for safety purposes. They travel a lot and I’m afraid a stolen or dropped laptop would really hurt if they lost this file.

But sometimes they work off line. I want to add a line that would check to see if they were on the internet and if so, then send the backup, else, not.

Any suggested approaches? Ping something and if it fails then assume you’re offline? Is there an OS status that would indicate this?

Dan
--

Dan Doughtie
Augusta, GA
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Detecting if connected to internet
      • From: Bruce Robertson <email@hidden>
    • Re: Detecting if connected to internet
      • From: Axel Luttgens <email@hidden>
    • Re: Detecting if connected to internet
      • From: email@hidden
    • Re: Detecting if connected to internet
      • From: Doug McNutt <email@hidden>
    • Re: Detecting if connected to internet
      • From: Michelle Steiner <email@hidden>
  • Prev by Date: Re: Rename nested folders
  • Next by Date: Leopard update to Abort a runaway script in Apple Script Menu
  • Previous by thread: Creating detached events
  • Next by thread: Re: Detecting if connected to internet
  • Index(es):
    • Date
    • Thread