[comp.sys.mac] copying mac files within an application

wvanbeek@mentor.cc.purdue.edu (William W. Van Beek) (01/24/90)

Here's the problem.

We have an application which does (1) copies files (applications and documents)
from an Appleshare Server to a local hard disk, (2) moves files to the desktop
of the local hard disk, and (3) makes certain files invisible.  The program
was written using Mac PB (low-level) calls to (1) get the complete CAT info on
the file from the server, (2) create the new file and set the CAT info, and (3)
copy both forks.

We find that the file information of the new file (on the local hard disk) is
"incomplete" in that appearance of the icons, the location of the icons (in
case we moved them to the desktop programatically), version information,
are not identical between the two copies.

However, making files invisible works successfully making the same calls.

The reason that this functionality is extremely important to us is because
these make up a lab which is used by students at least 90 hours per week.
Identical resets are a necessity to minimize the level of support that we
need to supply users.  Because of the level of network traffic we run
word and excel from the local hard drive.

If anyone can suggest what we may be doing wrong, please let us know.
We're so close yet so far......

Thanks.

...bill            wvanbeek@mentor.cc.purdue.edu
                   wvanbeek@midas.mgmt.purdue.edu