Thanks for your reply David ! Your solutions makes sense .. it's simple and can be accomplished (not tested yet) bu using WinSCP instead of Filzilla (which does not support shell triggers except some mkdir commands).
I'm have just been reading about NGINX caching and I have another question I am sure that you know how to answer.
It seems that you can set different caches (locations) for different server blocks in NGINX. Does that mean that if I set the same cache for the server block of my wordpress site, as well as for the domain that serves only static files, I should be able to purge through NGINX helper wordpress module. In the end, it's the same cache that wordpress and the static files use.
I'm I getting this right ? Or could that lead to trouble ?
Lex