Wait for file being stable before transferring
I've made a script that works great for transferring files from Windows to Unix. Files are downloaded via another tool and then I have a scheduled task that runs every three minutes to move the files via the script. However, I'm concerned that WinSCP will try to transfer the file before it has completed downloading.
So, is there a parameter or switch that I can use to make sure the file is stable before it gets transferred? In other words, just skip the file if it's not stable. Just wait until next time.
So, is there a parameter or switch that I can use to make sure the file is stable before it gets transferred? In other words, just skip the file if it's not stable. Just wait until next time.