[DISCONTINUED] Extension to download a file to ASD (app-specific directory) without WRITE permission

image

Extension says file exists, but I am unable to read it (guessing I have a file with 0 bytes ?) however, the image file I showed in my blocks has downloaded just fine, and displays OK

Do you mean 'Fruits.txt'? It is downloaded and it has content - it's 906 bytes.
You can just type the URL into your browser to see the file content
https://professorcad.co.uk/Files/Fruit.txt

That's from google drive, which seems to work without a path issue.

Try this one:
try_downloadASD.aia (18.8 KB)

With which aia? Please post it (again).

Try this: downloadASD_new.aia (18.9 KB)

1 Like

The file is not overwritten, when we download files and assign the same name they are saved as
photo.png
photo-1.png
photo-2.png
photo-3.png
...

This compiles correctly :+1:, maybe the problem occurred when updating the extension.

1 Like

Yes, I think so, too.

The easiest and fastest way is to open the aia with WinRAR / 7Zip and replace the old extension with the new (current) one.

Yes, that is known. Download only if the file does not exist (or remove the file beforehand).

I get the same on my Galaxy Note8 (Android 9) because ...

Yeah - false positive. There must be something, even a word, that tips the balance. Unfortunately it is not possible to digitally sign an extension - maybe MIT can make that happen.

BTW, the Image component incorrectly requests READ permission on Android < 11 for the ASD as well. I'll open a new topic and report this bug (maybe I've done this before... :woman_shrugging:).

As @Taifun suggested some time ago, all bugs should be listed in a → bug tracker so we don't lose track. Ideally, it should also be noted there when the respective bugs were fixed. I found so many bugs in the last month/years that I can't remember every single one (with AI2, Kodular, Niotron, ...).

1 Like

Taifun is 100% right.

I think your extension is actually the very first one to trigger an AV alarm on more than one device! Should not rule out the possibility of the file being compromised on the Server or during download.

We would know if something of that ilk was wrong if the file had a finger print, a SHA256 checksum that Users can check after download (via the command window of Windows or Linux). I've popped that suggestion on the Power Users forum.

The extension works here if I create a sub-folder in the ASD.

Ok, thanks for the hint to Github @Taifun.

I found this bug here:

But I don't want to wade through nearly 400 issues (links) on Github. The (open) bugs should be listed here in the forum (IMO).

1 Like

Yes.

1 Like

I built the same app on Niotron and there is no issue with this virus "Evo-gen".
So it seems to be an AI2 problem.

Blocks

Definitely related to AI2 (could try Kodular too?) but currently this is the only extension with an AV issue.