I need to download a file with a filename different from the origin path.
url path is 'aaabbbcccddd' (or GUID) and I need to save the file with the name "image.jpg"
I used this code:
AnchorElement anchorElement = AnchorElement(href: url);
anchorElement.download = "image.jpg";
anchorElement.click();
But the file is save with the path name not "image.jpg"
Is it a bug ?