Does SCP lock the file it is transfering?

Posted by thadon on Server Fault See other posts from Server Fault or by thadon
Published on 2010-03-05T16:05:49Z Indexed on 2010/03/08 17:21 UTC
Read the original article Hit count: 642

Filed under:
|

Have a situation where we have an application log sitting out on an AIX server. The log is being continually written to from the application, and we have users on Windows who want to view the file. What they've been doing is using WinSCP to transfer the file to their desktop and they open it using a text editor.

What I think might be happening is scp is locking the file for the duration of the transfer, and the application ceases to be able to write to the file. The reason I believe this is the log file will stop growing at random points during the day.

Is that what perhaps is going on?

© Server Fault or respective owner

Related posts about scp

Related posts about aix