Wait for file activity stage
Moderators: chulett, rschirm, roy
Wait for file activity stage
How do I wait till my file has completely copied to the folder before I say that Wait For File Acitvity is successful and fire off the next stage?
Exactly... an empty trigger file, typically, that is only sent after the main data file has completely transferred. Otherwise you face exactly the situation you've described - the WFF triggers the moment it detects the file, finished or not.
Also referred to as a 'semaphore' file.
Also referred to as a 'semaphore' file.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
Here's one of the practices I have been following. Define a process such that whenever you are copying a file say A.txt it is followed by another dummy file say A.dummy. In this case, once A.txt is copied completely, A.dummy is copied. Now all you will need to do is wait for A.dummy before you start processing A.txt. Hope that was clear. ![Wink :wink:](./images/smilies/icon_wink.gif)
![Wink :wink:](./images/smilies/icon_wink.gif)
Kris
Where's the "Any" key?-Homer Simpson
Where's the "Any" key?-Homer Simpson