Open fvisticot opened 11 months ago
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 ?
any update on this ? I did not find the answer.
I'm having the same issue.
Any update or feedback ?
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:
But the file is save with the path name not "image.jpg"
Is it a bug ?