Tim Lucia wrote:
Push or pull, when it gets there, it gets there correctly (md5sum-s match).
The problem, I think, is that the file appears in the file system before it
is received in its entirety. I don't know why -- maybe the nature of samba
is to write, close, open-for-append, ... ? If I copy FROM Linux ("pull")
then I do not have this problem, it's only when pushing to the linux file
system mounted via samba from Windows. I've tried this numerous times,
because I have a strong desire to automate the build and deploy process as
much as possible -- saves me from having to do it myself ;-) I haven't 100%
isolated the exact circumstances.
I've been sleeping through most of this discussion, but
this last bit reminds me of an "old school" ploy that might help:
Copy/transfer the file to some inactive filename
(eg. a tmp file, or something otherwise safe),
then when the transfer is complete,
rename (mv) to the target filename
the latter generally happens atomically enough to avoid a lot
of such issues.
'Course, you may have already thought of this, and it isn't 100%
foolproof...
--
[EMAIL PROTECTED]
http://math.nist.gov/~BMiller/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]