Your upload is probably is coded in a script I suppose? I would say the simplest is to add code around it to check for the process running. Off the top of my head, you can probably use PowerShell or even good old tasklist command + output string parsing to check for your target process running before starting the upload.
The Model M is not for the faint of heart. You either like them or hate them.
Gerbils unite! Fold for UnitedGerbilNation, team 2630.