server volume/empty trash problem
server volume/empty trash problem
- Subject: server volume/empty trash problem
- From: Bret Linford <email@hidden>
- Date: Fri, 23 Feb 2001 13:14:02 -0800
Hi,
We are using this script to mount and unmount a server volume:
tell application "Finder"
activate
if (list disks) contains "server1.3.0" then
put away disk "server1.3.0"
else
try
mount volume "afp://user:email@hidden/server1.3.0"
end try
end if
end tell
The problem is that almost every time we run this to unmount a volume we get
the message "The shared disk "server1.3.0" could not be put away, because
some of its items have been moved to the Trash. Do you want to delete those
items and then put away the disk?". This will happen even though an operator
doesn't put anything in the trash. I've tried using the Mountserver OSAX
command "Unmount Server" instead of "put away", but it always unmounts the
wrong server volume.
The server is a UNIX machine running Helios. Thanks!
--
Bret