Folder action issue

I have a folder action that sits on my ftp server and works fine if I drag and drop a file from the Finder but if I put a file in the folder using a ftp client from another machine it does not work. Does folder actions not recognize the folder being accessed when not using the Finder? If so is there a way to trigger it or am I stuck doing cron jobs?

Thanks
Kerry

Kerry;

I suspect that your guess is right - the Finder didn’t put it there (the system did) so the Finder doesn’t see it. Sometimes “touch” can help the Finder notice stuff (see man: touch), but a better way would be to monitor the contents of the folder with an on idle / end idle handler saved as a stay-open app. In the run handler, you could get the current contents of the folder, and then check back and compare every few minutes.