• 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
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HOWTO check if file is completly copied - OS9


  • Subject: Re: HOWTO check if file is completly copied - OS9
  • From: Christian Vinaa <email@hidden>
  • Date: Wed, 9 Feb 2005 12:59:37 +0100


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?


i should be the last to offer advice on applescript

but   .... tricks   I know  all about !

logically  you can approach this on several levels

monitor activity (not necessarely file size )

send the file by email (not network access transfer)
then get file when email is there

if on network  you should be able to get filesize somehow first
then set delay / wait ticks  appropriately
(i mean its not CNN live, huh ? )

dont know what kind of file, but if you try to open it before transfer is finished i gather you would get an error ( fx. opening a gif file before the gif is complete will get your picture viewer to say something like cant open file, huh ? ) so trying to open a file with a program that is not "... doing something with the file...." (to use your words) should help you

but the above is purely logical thinking and nothing to do with scripting !

--
Christian Vinaa

email@hidden

...... Meanwhile, aunt Martha, having taken a tramp in the woods,
is lying in a ditch at the edge of town .........................
_______________________________________________
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


References: 
 >Re: HOWTO check if file is completly copied - OS9 (From: Brendan Wilde <email@hidden>)

  • Prev by Date: Re: HOWTO check if file is completly copied - OS9
  • Next by Date: Re: where are the shell scripts ?
  • Previous by thread: Re: HOWTO check if file is completly copied - OS9
  • Next by thread: Re: HOWTO check if file is completly copied - OS9
  • Index(es):
    • Date
    • Thread