My experience with NT and OS/2 systems has been that they generally
don't update the size of the file until either the file is closed, or
another process tries to read past the stated end of the file (in which
case the reported file size will always be at least as great as the amount
read).
Don't rely on the file size being 0 until close. Don't rely on anything
other than the file containing >= X bytes (where X is the file size
returned by SMB).
-- ----------------------------------------------------------- In return for "mailbag contention" errors from buggy Exchange servers I'll set my mail server to refuse mail from your domain. The same response applies when a message to a postmaster account bounces. "Russell Coker - mailing lists account" <bofh@snoopy.virtual.net.au> -----------------------------------------------------------