xdaa374@ut-emx.UUCP (William T. Douglass) (03/29/89)
Does anyone know of a method-program-XCMD that will allow you to connect and disconnect from an AppleShare server from within a program (i.e. bypass the Chooser.) We want to log-in our users automatically from within an application, and log out of the server when the program quits. Any & all suggestins are welcome. Thx. -- Bill Douglass, TCADA "I dreamed I was to take a test, in a Dairy Queen, on another planet." L. Anderson
svc@well.UUCP (Leonard Rosenthol) (03/30/89)
In article <11543@ut-emx.UUCP>, xdaa374@ut-emx.UUCP (William T. Douglass) writes: > Does anyone know of a method-program-XCMD that will allow you to > connect and disconnect from an AppleShare server from within a > program (i.e. bypass the Chooser.) We want to log-in our users > automatically from within an application, and log out of the server > when the program quits. > I know of a couple of XCMD's that will mount AShare volumes, however neither is being distributed due to Apple politics (ie. 'We don't want useres doing that sort of thing...'). There is also an MPW Tool called Choose which will do the same thing (and some other nice stuff too...), though I don't know how you would call that from your application. The bottom line is that it can be done, but Apple's not going to make it easy for you :-) Unmounting on the other hand is REAL easy, just call UnmountVol like you would for any other volume and it will Unmount just fine... -- +--------------------------------------------------+ Leonard Rosenthol | GEnie : MACgician Lazerware, inc. | MacNet: MACgician UUCP: svc@well.UUCP | ALink : D0025
jdevoto@Apple.COM (Jeanne A. E. DeVoto) (03/30/89)
In article <11543@ut-emx.UUCP> xdaa374@ut-emx.UUCP (William T. Douglass) writes: >Does anyone know of a method-program-XCMD that will allow you to >connect and disconnect from an AppleShare server from within a >program (i.e. bypass the Chooser.) We want to log-in our users >automatically from within an application, and log out of the server >when the program quits. > There is a stack/XCMD called Cheap Chooser that will automatically mount and unmount AppleShare servers. I uploaded it to CI$ some time ago -- I suppose if there is demand I could find a copy and send it to c.b.m. jeanne devoto