> I am trying to delete a file and redownload it using chrome.
How are you using tasker?
My stock android browser will add a number to the end of any filename that already exists( IE filename1.txt then filename2.txt) I did test it on your file and it works as expected.
> My chrome asks: "Do you want to replace the existing report.csv in Download?
A few things to try.
1. If you clear the defaults for chrome you should be able to choose the stock browser just for the 'browse url' action and still have chrome for your standard default browser.
2. Instead of using ' browse url' use the 'launch app' and launch chrome with the link in the data field and select 'always start new copy'
Are there any different commands you can think of?
>
Are you rooted? You could try killing chrome after the delete and before the browse url. I would try the shell command am force-stop package name
I tried using keyguard in secure settings to unlock the device protected by "swipe" unlock but it doesn't like Nexus for some reason. In this case, would there be any non-root solution?
>
This is a known issue. You can search the group for a few different approaches. The one that worked for me was to turn on keyguard with secure settings action just before turning off keyguard with secure settings.