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: Eric Geoffroy <email@hidden>
- Date: Thu, 10 Feb 2005 14:54:24 -0800
Well if you are working in OS 9 only, if you get
info for file x
you can see the file type as busy while it is being copied. Then when the copy is done, the file type goes back to normal.
This broke in OS X. Forgive me if this is old news.
- Eric
On Feb 8, 2005, at 2:35 PM, Peter Welsh wrote:
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