Re: HOWTO check if file is completly copied - OS9
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