I assume that you are concerned about network file transfer activity interfering with the interactive user. You do not need to worry about whether the user types on the keyboard. In fact, all that matters is the presence or absence of competing network activities.
On Windows, for example, you can use the Background Intelligent Transfer Service . This is the same service that Windows Update uses to deliver updates to your desktop without interfering with your use of the machine. For a script, you can consider Powershell . If you are configured to use Python, you can do this with win32com.bits .
Other platforms will no doubt have similar offers.
David heffernan
source share