Hi Martin,
thank you for your response, much appreciated. It is FTP, sorry, I should have mentioned that.
I appreciate the link you sent, that confirms my suspicion that unfortunately there's no locking mechanism of any sort, so I ended up doing this:
Set a timer to scan the folder every 30 seconds. Compare the file timestamp with current time and if it is more than 2 minutes, the file gets processed, otherwise, it sits there until next round. So far, it seems to be working flawlessly.
thank you for your response, much appreciated. It is FTP, sorry, I should have mentioned that.
I appreciate the link you sent, that confirms my suspicion that unfortunately there's no locking mechanism of any sort, so I ended up doing this:
Set a timer to scan the folder every 30 seconds. Compare the file timestamp with current time and if it is more than 2 minutes, the file gets processed, otherwise, it sits there until next round. So far, it seems to be working flawlessly.