• 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
determining if a file is in use
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

determining if a file is in use


  • Subject: determining if a file is in use
  • From: John Fountain <email@hidden>
  • Date: Tue, 20 Nov 2001 08:25:34 -0500

Hello all-

Is it possible to tell if a file is in use before performing an action on it? e.g. I am copying a file to a server over a very s-l-o-w link, a 1mb file take approximately 1 minute to fully copy. I would like to perform a script on the file when it is fully copied to the server. I currently have a script that watches a folder but it sometimes errors out when it grabs a file that hasn't finished copying yet. I would like to be able to trap this and delay a few seconds then try performing the operation on the file again. Any help to point me in the right direction would be appreciated.

-John


  • Prev by Date: Re: Scripting Default Folder's scripting addition
  • Next by Date: Re: Type & Creator DB ?
  • Previous by thread: Referencing a Folder Relatively
  • Next by thread: OSX CGI and some
  • Index(es):
    • Date
    • Thread