Here is a small update...
I'm trying to use the Test File' action in the task...
Here is as the command looks like:
Here is the command's output:
--------------------------------------------------------------------------------------------------------------------------------------------
22.30.58/E Test File: %mod -> %mod
22.30.58/FileUtil nrda: need request: /storage/emulated/0/Download/Adobe Acrobat/reprt533k.pdf: false
22.30.58/E checkSDPath: /storage/emulated/0/Download/Adobe Acrobat/reprt533k.pdf useRoot: true there: true file: true dir: true
22.30.58/E Test File: checkSDPath: /storage/emulated/0/Download/Adobe Acrobat/reprt533k.pdf useDocFile: false
22.30.58/Shell runSync test -e '/storage/emulated/0/Download/Adobe Acrobat/reprt533k.pdf' root: true timeout: 3000
22.30.58/Shell have process
22.30.58/Shell write cmd: test -e '/storage/emulated/0/Download/Adobe Acrobat/reprt533k.pdf'
22.30.58/Shell start process timeout timer 3000ms for: test -e '/storage/emulated/0/Download/Adobe Acrobat/reprt533k.pdf'
22.30.58/Shell start process-thread ID 5417
22.30.58/Shell joined with 5417
22.30.58/Shell exit result: 0
22.30.58/Shell non-null timeout
22.30.58/Shell runSync test -f '/storage/emulated/0/Download/Adobe Acrobat/reprt533k.pdf' root: true timeout: 3000
22.30.58/Shell have process
22.30.58/Shell write cmd: test -f '/storage/emulated/0/Download/Adobe Acrobat/reprt533k.pdf'
22.30.58/Shell start process timeout timer 3000ms for: test -f '/storage/emulated/0/Download/Adobe Acrobat/reprt533k.pdf'
22.30.58/Shell start process-thread ID 5419
22.30.58/Shell joined with 5419
22.30.58/Shell exit result: 0
22.30.58/Shell non-null timeout
22.30.58/Shell runSync test -d '/storage/emulated/0/Download/Adobe Acrobat/reprt533k.pdf' root: true timeout: 3000
22.30.58/Shell have process
22.30.58/Shell write cmd: test -d '/storage/emulated/0/Download/Adobe Acrobat/reprt533k.pdf'
22.30.58/Shell start process timeout timer 3000ms for: test -d '/storage/emulated/0/Download/Adobe Acrobat/reprt533k.pdf'
22.30.58/Shell start process-thread ID 5421
22.30.58/Shell joined with 5421
22.30.58/Shell exit result: 0
22.30.58/Shell non-null timeout
22.30.58/E Test File: checkSDPath: /storage/emulated/0/Download/Adobe Acrobat/reprt533k.pdf ok true
22.30.58/Shell runSync ls -ld /storage/emulated/0/Download/Adobe Acrobat/reprt533k.pdf root: true timeout: 3000
22.30.58/Shell have process
22.30.58/Shell write cmd: ls -ld /storage/emulated/0/Download/Adobe Acrobat/reprt533k.pdf
22.30.58/Shell start process timeout timer 3000ms for: ls -ld /storage/emulated/0/Download/Adobe Acrobat/reprt533k.pdf
22.30.58/Shell start process-thread ID 5423
22.30.58/Shell joined with 5423
22.30.58/Shell exit result: 0
22.30.58/Shell non-null timeout
22.30.58/Test Test File: test mtime: 0 response code but no entry
22.30.58/E result: stop task (error)
22.30.58/Variables doreplresult: |%mod| -> |%mod|
22.30.58/E Error: 1
22.30.58/MacroEdit action finished exeID 1 action no 0 code 342 status: Err next 0
--------------------------------------------------------------------------------------------------------------------------------------------
So, what's the problem? what's wrong? It seems I gave the SDCard access rights to the Tasker (even the file is in the internals storage) ... Why Tasker is not able to examine the file?
Could please someone try this command on his/her phone and see whether it works?
Thank you!