How to detect changes in a local file?

Viewed 15

I want to check a local file every time a scrip is run and detect if it has changed, I need to upload each changed file to a web app through an API See illustration below

Diagram of the problem

0 Answers
Related