• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: HOWTO check if file is completly copied - OS9 (Emmanuel)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: HOWTO check if file is completly copied - OS9 (Emmanuel)
      • From: Eric Geoffroy <email@hidden>
  • Prev by Date: Re: DVDSP and applescript
  • Next by Date: Re: [ANN] ConvexPoly.osax 1.3 by Satimage-software.
  • Previous by thread: Creating Links in Entourage Mail
  • Next by thread: Re: HOWTO check if file is completly copied - OS9 (Emmanuel)
  • Index(es):
    • Date
    • Thread