How to create file watcher in shared webhosting environment

℡╲_俬逩灬. 提交于 2019-12-11 16:46:39

问题


I have a windows shared web hosting, and i want to create there a file watcher which will monitor my images folder and resize the new images.
I thought to make it as a separate component because i may sell to others later.
Any ideas?


回答1:


You're going to have a hard time implementing a file watcher in a shared environment. Usually the easiest way to implement something like that is to write it as a Windows service and use the built in .NET file/directory monitoring classes.

Unless you have the ability to install applications/services on your shared server, I think you're going to find that you're out of luck.



来源:https://stackoverflow.com/questions/781927/how-to-create-file-watcher-in-shared-webhosting-environment

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!