home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!pageworks.com!world!eff!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!elroy.jpl.nasa.gov!lambda.msfc.nasa.gov!robichau
- From: robichau@lambda.msfc.nasa.gov (Paul Robichaux)
- Subject: Programmatic mounting & ARA
- Message-ID: <1992Nov18.190642.1194@lambda.msfc.nasa.gov>
- Reply-To: robichau@lambda.msfc.nasa.gov
- Organization: New Technology, Inc.
- Date: Wed, 18 Nov 1992 19:06:42 GMT
- Lines: 55
-
- I'm working on a data-collection application that collects data from a
- variety of sources and stores it. Some of the machines running this
- application are at remote sites, and we'd like to add a data-transfer
- capability.
-
- There are a couple of different ways to do it:
- a) have the remote users mail us floppies. Easy, cheap, but
- requires regular human intervention, and prevents us from
- putting these machines in _really_ remote areas.
-
- b) integrating CTB support, so that remote machines can
- "call home" and send files. Requires a bit more work,
- and would require us to implement at least a rudimentary
- authentication and access control protocol on top of file
- transfer tools.
-
- c) use Appletalk Remote Access and two separate applications.
- One app is the regular data-collection s/w, and the other is
- a "transfer demon" that, via AppleEvents, gets started at
- periodic intervals and uses programmatic calls to mount
- the remote volume, copy the files, and exit.
-
- Approach a) is easy and cheap. Approach b) is a little harder, and
- approach c) seems to be hardest- and most flexible. Using ARA, we
- could transmit new software updates (let the demon kill the
- application and start the new copy after the transfer) and make the
- file transfer pretty near invisible to the user.
-
- I'm a little fuzzy on the whole concept of programmatically mounting
- volumes. I know that MatchAlias can mount (or not) remote volumes
- which contain the target of an alias being resolved. I know there are
- also explicit calls to mount and unmount remote volumes (don't have IM
- VI here, so I don't remember their names.)
-
- Questions:
- a) using the programmatic mounting calls, how do you "know" what
- volume to connect to? What if the volume name or creation date
- changes?
-
- b) If I use MatchAlias to resolve an alias which points to a
- volume accessible via ARA, can ARA automount it? I assume so,
- since I know NetWare and AppleShare have similar features.
-
- c) Has anyone developed a similar application? I'd like to know
- more about the (probably hidden) pitfalls before I commit to this
- approach, even though it is the coolest.
-
- Replies here or via e-mail are fine. I'll summarize e-mail replies.
-
- -Paul
-
- --
- Paul Robichaux, KD4JZG | May explode if disposed of improperly.
- Mission Software Development Div. | Printed on recycled phosphors.
- New Technology, Inc. | ** PGP 2.0 key available on request **
-