I'm running PHP on IIS (can't change that) and need a php script to run every time a file is added to a watched folder. Furthermore I need said script to know the name of the file.
After fighting it a while I have currently solved it by using Transform Manager, and then send the info by notifications. While that does i fact do the trick it also deletes the file.
So my question is this: how do I stop it from deleting my files or is there an overall better method for doing this?
一种解决方案是使用带有while
循环的长时间运行的脚本,以检查文件夹的内容或上次修改时间。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.