After getting the password to the user, I'd make a call to the mount_afp shell command.
-mab On Wednesday, May 1, 2002, at 02:04 PM, Jeff Lowrey wrote: > At 4:04 PM -0400 5/1/02, [EMAIL PROTECTED] wrote: >> While we're on the subject of remote volumes, I've been trying to >> figure out >> how to automate mounting "normal" AFP volume from Perl (or the >> Terminal -- >> it just has to let Perl read & write files) in OS X. The servers >> require ID >> & password. >> >> Right now, I'm using FTP to access these remote volumes. Is there a >> better >> way? > > Maybe you want to use osascript and AppleScript to do this. "mount > volume" is your friend.