Given that a W2k client copies a large file into a samba share on a Linux server, how can a process (e.g. shell script) that will read this file wait until the file is totally transfered?
The problem is that the file is (on the server) accessible for reading from the moment the client starts to copy. My first guess is to try something like `echo "" >> file' and hope that linux throws an error, because file is already opened for writing by the samba daemon. But maybe samba writes large files in blocks (i.e. opens and closes the file several times), who knows? TIA Stony

