file transfer automation

Posted by rizen on Server Fault See other posts from Server Fault or by rizen
Published on 2010-03-19T17:48:33Z Indexed on 2010/03/19 17:51 UTC
Read the original article Hit count: 174

Filed under:

Server A generates a file and scp's it to Server B. I have cron running on Server B that each minute looks for new files that were copied over. My question is- how can Server B ensure that the file that was copied over is actually done being copied? I don'y want to start processing the file unless it's been fully written to. Is this possible to determine?

© Server Fault or respective owner

Related posts about scp