Check to see if file transfer is complete

Posted by Cymon on Stack Overflow See other posts from Stack Overflow or by Cymon
Published on 2010-05-26T16:20:20Z Indexed on 2010/05/26 16:21 UTC
Read the original article Hit count: 352

Filed under:
|
|
|
|

We have a daily job that processes files delivered from an external source. The process usually runs fine without any issues but every once in a while we have an issue of attempting to process a file that is not completely transferred.

The external source SCPs these files from a UNIX server to our Windows server. From there we try to process the files. Is there a way to check to see if a file is still being transferred? Does UNIX put a lock on a file while SCPing it that we could check on the Windows side?

© Stack Overflow or respective owner

Related posts about file

Related posts about files