Re: HOWTO check if file is completly copied - OS9 (Emmanuel)
Re: HOWTO check if file is completly copied - OS9 (Emmanuel)
- Subject: Re: HOWTO check if file is completly copied - OS9 (Emmanuel)
- From: Peter Welsh <email@hidden>
- Date: 08 Feb 2005 17:35:29 -0500
If I understand this properly, you need to see if the file is no longer busy so you can work on it.
I used to do a "try" to get the Finder to open the file with write permission. If it failed (hence the reason for the "trY" trap) then the file was still in use. If it didn't fail, I closed the access then proceeded to run amok with what I wanted to do to it.
>I need to make a script for OS9, a file need to be modified.
>The file is being copied over the network.
>So before doing something with the file, I need to check is the file
>is complete!
>Anyone a trick to do this thing?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden