'Download attachments for current file' overwrites the file with same name

What I’m trying to do

I’d like to download images with external links.
but sometimes its name is same with the attachments I saved before (such as “image.png”)
and it overwrites the new one
I’m looking for some ways to resolve it

Things I have tried

I called "Download attachments for current file’ by pressing Ctrl+P and searching the commands