Checking if a file has copied completly
Ian Wood
revlist at azurevision.co.uk
Wed May 30 12:00:01 EDT 2007
If it's on OS X, I'd suggest using a folder action and alerting your
app via AppleScript - this shouldn't trigger until the file is fully
copied.
Otherwise (and if building an AS dictionary is too much of a pain)
I'm not really sure and was wondering myself. Maybe a loop which
watches the file size until it's been constant for a long enough
period? A bit unpredictable, though.
Ian
On 30 May 2007, at 16:55, Dave wrote:
> However if a file is dragged from another machine on the LAN (and
> it's Copied), the App sees the file as soon as it appears in the
> Folder and starts processing a partial file.
>
> Is there anyway in RunRev to check if the file has been completely
> copied?
More information about the use-livecode
mailing list