1

Copy File Action Corrupts Data and Truncates Files

**Example:**

- Source: 910 bytes text file

- After Copy File: 9 bytes with garbage content `J¬ºK¿®+!`

**Working alternatives (same files):**

- Read File + Write File = perfect copy

- Shell `cat "source" > "dest"` = perfect copy

## Environment

- Tasker version: 6.5.9

- Android 15

- Device: Samsung S23 ultra 

4 replies

Here's the link

taskertask://H4sIAAAAAAAA/2WQ0YrCMBBFn+1XlPkAp2mjtjAJLKsPPrs/ENqwBrWVdCz49yaNyi4+zcy9h9xw6ceMJ+u3hk0+egWQd5NTICDnScF6uVo2oLMFRWwGOCyy2kRxQW1n2GqxkU0p6lXZ1FIQJjHa9p9dNUW9JrRv23U6vEQYZjz7i9Xfw/W+854wHlH8atkN/ZxsWi4gn6yClB7ih85qWciQGbdZO7BPtP990hXow9GNt9MNvRuPhAH5YMWb5cv1D7Lv+YWUATFnBQXgh1c9PZE8wvTv2BzG6nSWZmpaZw+kOr2cdwEAAA==

I'm not sure to understand how to "export an example as un URI".

I can provide the source and target file (no personal data inside) but I don't see how to upload them here.

To export to an uri:

- create a simple example that illustrates the error you're seeing (for example, an action that writes the text file you mentioned and the reads it back and writes it with th error you mentioned)

- Long-click the task

- Export > To URI

- Paste the URI here

Thanks in advance!

Hi! Can you please export a minimal example of that as an URI (not a link, but a direct URI) and paste it here so I can then import it and test it myself?

Thanks in advance!

More detailed example :

taskertask://H4sIAAAAAAAA/61U0W6DIBR9Ll9hSPZaRLFqgyTLtoc9tz9glK2kazWITfb3g9o5VhWbpk/APQfuOfcCdJs3ey5fc5V7jcwg9MqTyCCGnjplcLWMlilkYEEN7UxQekLC2AQXtChzxRmOSRrgJArShGCKuqCBuQWnQRDjVUoR72FRMn0SRXo0y+OBs5eq/n6TkiKzMMFaCoZ9nyIzMYHnQonqeJaSF8qH3olnsJOj9VQlZ8QnWoSZnWMbJTu2/LywQ8g2O9G0+xZJ0ewo0pQBF/dcdagtyvtR/VICTcm/MuhDNMDCC4Y7jKJO94gFPGYBxw+18KS1iNI02e1kXm1wp1pdxNuUFpWUba0eoTUc0Rql81rnqoX/KxhX57oUPWalJ670DpNkzCRJ5q+PyqXyqg9vU7Wy4GvwlxaAraZytfaA3Q5wYzXsvvb5hsXArjLiwduyTw0dpxLXxmh6Y+CwcZ1vrG1D6DqZBa2moXgaSqbVp5OPgiLzdTPQjd1Pz8APm0aSqfcFAAA=

Screenshot of execution:

https://i.imgur.com/K6KDfyP.png