We developing web sit.we have two textFiles in server http://192.168.3.134:8080/Helphands/forTest1.txt
and http://192.168.3.134:8080/Helphands/forTest2.txt
.We need is When we button click we need download forTest1.txt
file and then count 1 write to forTest2.txt
Please guide me . We are new this
We download like this
</script>
<a href="http://192.168.3.134:8080/Helphands/forTest1.txt" download>
aaaa
</a>
now we need count number of download that as to be sent to forTest2.txt